mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-16 17:36:07 +00:00
Merge remote-tracking branch 'origin/streaming_feature' into streaming_feature
# Conflicts: # pkg/api/http/controller/groups/pipelines/webchat.py # pkg/pipeline/process/handlers/chat.py # pkg/platform/sources/aiocqhttp.py # pkg/platform/sources/dingtalk.py # pkg/platform/sources/discord.py # pkg/platform/sources/lark.py # pkg/platform/sources/telegram.py # pkg/platform/sources/wechatpad.py # pkg/provider/modelmgr/requester.py # pkg/provider/modelmgr/requesters/chatcmpl.py # pkg/provider/modelmgr/requesters/deepseekchatcmpl.py # pkg/provider/modelmgr/requesters/giteeaichatcmpl.py # pkg/provider/modelmgr/requesters/modelscopechatcmpl.py # pkg/provider/modelmgr/requesters/ppiochatcmpl.py # pkg/provider/runners/dashscopeapi.py # pkg/provider/runners/difysvapi.py # pkg/provider/runners/localagent.py
This commit is contained in:
@@ -15,6 +15,7 @@ proxy:
|
||||
http: ''
|
||||
https: ''
|
||||
system:
|
||||
recovery_key: ''
|
||||
jwt:
|
||||
expire: 604800
|
||||
secret: ''
|
||||
|
||||
@@ -44,7 +44,8 @@
|
||||
"role": "system",
|
||||
"content": "You are a helpful assistant."
|
||||
}
|
||||
]
|
||||
],
|
||||
"knowledge-base": ""
|
||||
},
|
||||
"dify-service-api": {
|
||||
"base-url": "https://api.dify.ai/v1",
|
||||
@@ -86,7 +87,8 @@
|
||||
"hide-exception": true,
|
||||
"at-sender": true,
|
||||
"quote-origin": true,
|
||||
"track-function-calls": false
|
||||
"track-function-calls": false,
|
||||
"remove-think": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -68,6 +68,16 @@ stages:
|
||||
zh_Hans: 除非您了解消息结构,否则请只使用 system 单提示词
|
||||
type: prompt-editor
|
||||
required: true
|
||||
- name: knowledge-base
|
||||
label:
|
||||
en_US: Knowledge Base
|
||||
zh_Hans: 知识库
|
||||
description:
|
||||
en_US: Configure the knowledge base to use for the agent, if not selected, the agent will directly use the LLM to reply
|
||||
zh_Hans: 配置用于提升回复质量的知识库,若不选择,则直接使用大模型回复
|
||||
type: knowledge-base-selector
|
||||
required: false
|
||||
default: ''
|
||||
- name: dify-service-api
|
||||
label:
|
||||
en_US: Dify Service API
|
||||
@@ -300,3 +310,4 @@ stages:
|
||||
type: string
|
||||
required: false
|
||||
default: 'response'
|
||||
|
||||
|
||||
@@ -105,3 +105,13 @@ stages:
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
- name: remove-think
|
||||
label:
|
||||
en_US: Remove CoT
|
||||
zh_Hans: 删除思维链
|
||||
description:
|
||||
en_US: If enabled, LangBot will remove the LLM thought content in response
|
||||
zh_Hans: 如果启用,将自动删除大模型回复中的模型思考内容
|
||||
type: boolean
|
||||
required: true
|
||||
default: true
|
||||
|
||||
Reference in New Issue
Block a user