feat(llm): update model and reasoning parameters
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 31s

This commit is contained in:
game-loader
2026-01-11 18:11:04 +08:00
parent d515d4456b
commit d98879a2db
4 changed files with 11 additions and 7 deletions

View File

@@ -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"}
)