You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: thinking_budget kwarg passed to Completions.parse() crashes memory discard in pusher #7898
The thinking_budget kwarg is passed to ChatGoogleGenerativeAI() (clients.py:502), which does not support it — when .with_structured_output() is called, it routes through Completions.parse() which rejects the unknown kwarg
Impact
Memory discard/trend detection fails silently for all users. Every conversation that triggers the memory discard flow in pusher hits this error. The except Exception at trends.py:86-88 catches the error and returns [], so no trends are ever detected.
Repro
Any conversation that triggers the memory discard flow in pusher when the active QoS profile routes trends to a Gemini model.
Activity
test: add regression test for thinking_budget leak in ChatOpenAI fall…
test: add regression test for thinking_budget leak in ChatOpenAI fall…
fix(backend): stop leaking thinking_budget into Gemini OpenAI-compat …
fix(backend): omit thinking_budget for Gemini structured-output routes
fix(backend): fail-soft reliability for LLM routes, search, and KG st…