fix(ollama): disable thinking for deepseek call sites
This commit is contained in:
@@ -167,6 +167,9 @@ class ChatManager:
|
||||
json={
|
||||
"model": MODEL,
|
||||
"stream": False,
|
||||
# Ollama 0.24 separates deepseek-r1 thinking from final text.
|
||||
# Chat callers expect message.content to contain the answer.
|
||||
"think": False,
|
||||
"messages": [
|
||||
{"role": "system", "content": system_prompt},
|
||||
{"role": "user", "content": user_message},
|
||||
|
||||
Reference in New Issue
Block a user