nbugs commited on
Commit
d321ba9
·
verified ·
1 Parent(s): 9536ebc

Update config-example.yaml

Browse files
Files changed (1) hide show
  1. config-example.yaml +6 -6
config-example.yaml CHANGED
@@ -1,11 +1,11 @@
1
  thinking_services:
2
  - id: 1
3
- name: ${THINKING_SERVICE_NAME} # 从环境变量获取服务名称
4
  mode: "standard" # 默认值为 standard
5
- model: ${THINKING_SERVICE_MODEL} # 从环境变量获取模型名称
6
- base_url: ${THINKING_SERVICE_BASE_URL} # 从环境变量获取基础URL
7
  api_path: "/v1/chat/completions"
8
- api_key: ${THINKING_SERVICE_API_KEY} # 从环境变量获取API密钥
9
  timeout: 600
10
  weight: 100
11
  proxy: "" # 可选代理设置
@@ -17,8 +17,8 @@ thinking_services:
17
  # API通道配置
18
  channels:
19
  "1":
20
- name: ${CHANNEL_NAME} # 从环境变量获取通道名称
21
- base_url: ${CHANNEL_BASE_URL} # 从环境变量获取通道基础URL
22
  api_path: "/v1/chat/completions"
23
  timeout: 600
24
  proxy: ""
 
1
  thinking_services:
2
  - id: 1
3
+ name: "${THINKING_SERVICE_NAME}" # 从环境变量获取服务名称
4
  mode: "standard" # 默认值为 standard
5
+ model: "${THINKING_SERVICE_MODEL}" # 从环境变量获取模型名称
6
+ base_url: "${THINKING_SERVICE_BASE_URL}" # 从环境变量获取基础URL
7
  api_path: "/v1/chat/completions"
8
+ api_key: "${THINKING_SERVICE_API_KEY}" # 从环境变量获取API密钥
9
  timeout: 600
10
  weight: 100
11
  proxy: "" # 可选代理设置
 
17
  # API通道配置
18
  channels:
19
  "1":
20
+ name: "${CHANNEL_NAME}" # 从环境变量获取通道名称
21
+ base_url: "${CHANNEL_BASE_URL}" # 从环境变量获取通道基础URL
22
  api_path: "/v1/chat/completions"
23
  timeout: 600
24
  proxy: ""