depai / config-example.yaml
nbugs's picture
Update config-example.yaml
d321ba9 verified
thinking_services:
- id: 1
name: "${THINKING_SERVICE_NAME}" # 从环境变量获取服务名称
mode: "standard" # 默认值为 standard
model: "${THINKING_SERVICE_MODEL}" # 从环境变量获取模型名称
base_url: "${THINKING_SERVICE_BASE_URL}" # 从环境变量获取基础URL
api_path: "/v1/chat/completions"
api_key: "${THINKING_SERVICE_API_KEY}" # 从环境变量获取API密钥
timeout: 600
weight: 100
proxy: "" # 可选代理设置
reasoning_effort: high
reasoning_format: parsed
temperature: 0.8
force_stop_deep_thinking: false
# API通道配置
channels:
"1":
name: "${CHANNEL_NAME}" # 从环境变量获取通道名称
base_url: "${CHANNEL_BASE_URL}" # 从环境变量获取通道基础URL
api_path: "/v1/chat/completions"
timeout: 600
proxy: ""
# 全局配置
global:
log:
level: error
format: json
output: console
file_path: ./logs/deepai.log
debug:
enabled: true
print_request: true
print_response: true
max_content_length: 1000
server:
port: 8888
host: 0.0.0.0
read_timeout: 600
write_timeout: 600
idle_timeout: 600