feat(llm): update model and reasoning parameters
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 31s
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 31s
This commit is contained in:
@@ -417,7 +417,9 @@ class LocalMemoryIntegration:
|
||||
{"role": "system", "content": system_prompt},
|
||||
{"role": "user", "content": user_input}
|
||||
],
|
||||
# reasoning_effort="minimal", # 你原始代码里的,如果豆包不支持就删掉
|
||||
thinking={"type": "disabled"},
|
||||
reasoning={"effort": "minimal"},
|
||||
max_tokens=200,
|
||||
# 推荐开启 JSON 模式,让豆包强制输出 JSON
|
||||
response_format={"type": "json_object"}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user