mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-26 12:17:14 +00:00
chore(bailian): related configuration
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
"siliconflow": [
|
||||
"xxxxxxx"
|
||||
],
|
||||
"aliyun": [
|
||||
"sk-aliyun_token"
|
||||
"bailian": [
|
||||
"sk-xxxxxxx"
|
||||
]
|
||||
},
|
||||
"requester": {
|
||||
@@ -83,7 +83,7 @@
|
||||
"args": {},
|
||||
"timeout": 120
|
||||
},
|
||||
"aliyun-chat-completions": {
|
||||
"bailian-chat-completions": {
|
||||
"args": {},
|
||||
"base-url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
||||
"timeout": 120
|
||||
|
||||
@@ -82,6 +82,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"default": []
|
||||
},
|
||||
"bailian": {
|
||||
"type": "array",
|
||||
"title": "阿里云百炼大模型平台 API 密钥",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": []
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -288,6 +296,26 @@
|
||||
"default": 120
|
||||
}
|
||||
}
|
||||
},
|
||||
"bailian-chat-completions": {
|
||||
"type": "object",
|
||||
"title": "阿里云百炼大模型平台 API 请求配置",
|
||||
"description": "仅可编辑 URL 和 超时时间,额外请求参数不支持可视化编辑,请到编辑器编辑",
|
||||
"properties": {
|
||||
"base-url": {
|
||||
"type": "string",
|
||||
"title": "API URL"
|
||||
},
|
||||
"args": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"timeout": {
|
||||
"type": "number",
|
||||
"title": "API 请求超时时间",
|
||||
"default": 120
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user