fix: Remove enable_thinking parameter from stream_chat methods

This commit is contained in:
2026-03-11 19:09:17 +08:00
parent 4f0d9f5ed6
commit 29bd45e0e0

View File

@@ -29,7 +29,6 @@ class LLMService:
"temperature": 0.3, "temperature": 0.3,
"max_tokens": max_tokens, "max_tokens": max_tokens,
"stream": True, "stream": True,
"enable_thinking": False,
} }
full_text = "" full_text = ""
timeout = httpx.Timeout(connect=10.0, read=90.0, write=10.0, pool=5.0) timeout = httpx.Timeout(connect=10.0, read=90.0, write=10.0, pool=5.0)
@@ -89,7 +88,6 @@ class LLMService:
], ],
"temperature": 0.3, "temperature": 0.3,
"max_tokens": 8192, "max_tokens": 8192,
"enable_thinking": False,
} }
timeout = httpx.Timeout(connect=10.0, read=90.0, write=10.0, pool=5.0) timeout = httpx.Timeout(connect=10.0, read=90.0, write=10.0, pool=5.0)