mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00:00
perf: add converting options for dify thinking tips (#1108)
This commit is contained in:
@@ -106,6 +106,9 @@
|
||||
"dify-service-api": {
|
||||
"base-url": "https://api.dify.ai/v1",
|
||||
"app-type": "chat",
|
||||
"options": {
|
||||
"convert-thinking-tips": "plain"
|
||||
},
|
||||
"chat": {
|
||||
"api-key": "app-1234567890",
|
||||
"timeout": 120
|
||||
|
||||
@@ -404,6 +404,20 @@
|
||||
"enum": ["chat", "workflow", "agent"],
|
||||
"default": "chat"
|
||||
},
|
||||
"options": {
|
||||
"type": "object",
|
||||
"title": "Dify Service API 配置选项",
|
||||
"properties": {
|
||||
"convert-thinking-tips": {
|
||||
"type": "string",
|
||||
"title": "转换思考提示",
|
||||
"description": "设置转换思考提示。值为 original 时,不转换思考提示;值为 plain 时,将思考提示转换为类似 DeepSeek 官方的<think>...</think>格式;值为 remove 时,删除思考提示",
|
||||
"enum": ["original", "plain", "remove"],
|
||||
"default": "plain"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"chat": {
|
||||
"type": "object",
|
||||
"title": "聊天助手 API 参数",
|
||||
|
||||
Reference in New Issue
Block a user