fix(ollama): disable thinking for deepseek call sites
All checks were successful
CD Pipeline / tests (push) Successful in 1m31s
Code Review / ai-code-review (push) Successful in 26s
CD Pipeline / build-and-deploy (push) Successful in 5m27s
CD Pipeline / post-deploy-checks (push) Successful in 1m40s

This commit is contained in:
Your Name
2026-05-25 23:19:14 +08:00
parent 6112fd07ae
commit 3953ef6d57
7 changed files with 28 additions and 2 deletions

View File

@@ -276,6 +276,8 @@ async def process_nl_message(
f"{endpoint.url}/api/chat",
json={
"model": model,
# Keep Hermes responses in message.content across Ollama 0.24+.
"think": False,
"messages": [
{"role": "system", "content": system_prompt},
{"role": "user", "content": prompt_with_ctx},