Replies: 1 comment
-
|
Strong +1 on this. The current global The proposed schema is clean. One edge case worth considering: what happens when a user switches to a model that has no The The revert on model switch behavior is interesting. I'd lean toward re-resolving on From a practical standpoint: this is exactly the kind of per-model config detail that trips up people setting up multi-agent setups. Having |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Users commonly run different models for different purposes — e.g.
gemini-3-profor interactive chat andgemini-3-flashfor autonomous heartbeats. These models have very different reasoning capabilities, butthinkingDefaultis a single global setting. Setting"high"works great for a capable model but wastes tokens on a lightweight one; setting"off"globally means capable models never use extended thinking.The only workaround today is manually toggling
/thinkper session, which defeats the purpose of autonomous runs.Proposal
Add an optional
thinkingDefaultfield to each model entry underagents.defaults.models:{ "agents": { "defaults": { "thinkingDefault": "low", "models": { "google/gemini-2.5-pro": {}, "google/gemini-3-flash": { "thinkingDefault": "high" }, "google/gemini-flash-lite-latest": { "thinkingDefault": "off" } } } } }Resolution priority: per-model → global → catalog auto-detect (existing fallback unchanged).
Config keys are normalized via
parseModelRefso aliases likeanthropic/opus-4.6resolve correctly.Additionally:
/think defaultdirective — undoes a session-level/thinkoverride so thinking cascades back to the per-model default/modeldirective, with or without inline content), the thinking level re-resolves for the new modelPrior art
#18152 by @wu-tian807 implemented the per-model config resolution but was reverted as part of a batch revert. This implementation (#20458) was built independently and adds
/think defaultand model-switch re-resolution on top.Beta Was this translation helpful? Give feedback.
All reactions