增加流式功能
This commit is contained in:
@@ -31,6 +31,8 @@ platforms:
|
||||
max_tokens: 2000
|
||||
max_words: 1000
|
||||
max_context_messages: 20
|
||||
# 是否开启流式输出(开启后 Element 中消息会逐步更新)
|
||||
streaming: false
|
||||
qwen:
|
||||
# 国内: https://dashscope.aliyuncs.com
|
||||
# 海外: https://dashscope-intl.aliyuncs.com
|
||||
@@ -44,12 +46,16 @@ platforms:
|
||||
max_context_messages: 20
|
||||
# 是否开启深度思考模式(仅 qwq 系列支持)
|
||||
enable_thinking: false
|
||||
# 是否开启流式输出(开启后 Element 中消息会逐步更新)
|
||||
streaming: false
|
||||
deepseek:
|
||||
url: https://api.deepseek.com
|
||||
api_key:
|
||||
model:
|
||||
max_words: 1000
|
||||
max_context_messages: 20
|
||||
# 是否开启流式输出(开启后 Element 中消息会逐步更新)
|
||||
streaming: false
|
||||
gemini:
|
||||
url: https://generativelanguage.googleapis.com
|
||||
api_key:
|
||||
@@ -58,6 +64,8 @@ platforms:
|
||||
max_tokens: 2000
|
||||
max_words: 1000
|
||||
max_context_messages: 20
|
||||
# 是否开启流式输出(开启后 Element 中消息会逐步更新)
|
||||
streaming: false
|
||||
openai:
|
||||
url: https://api.openai.com
|
||||
api_key:
|
||||
@@ -66,6 +74,8 @@ platforms:
|
||||
max_words: 1000
|
||||
max_context_messages: 20
|
||||
temperature: 1
|
||||
# 是否开启流式输出(开启后 Element 中消息会逐步更新)
|
||||
streaming: false
|
||||
anthropic:
|
||||
url: https://api.anthropic.com
|
||||
api_key:
|
||||
@@ -83,6 +93,8 @@ platforms:
|
||||
max_tokens: 1000
|
||||
max_words: 2000
|
||||
max_context_messages: 20
|
||||
# 是否开启流式输出(开启后 Element 中消息会逐步更新)
|
||||
streaming: false
|
||||
|
||||
|
||||
# additional prompt
|
||||
|
||||
Reference in New Issue
Block a user