When I select “ask Osebot” can we default to fable 5.1 instead of sonnet when the task is kicked off?
When I select “ask Osebot” can we default to fable 5.1 instead of sonnet when…
Today the picker's "default" option sends no model, and the server resolves it as AGENT_MODEL ?? "claude-sonnet-4-5" in three places (lib/agent/launch.ts, lib/agent/runner.mjs, the live-model line on the thread page). Quick-tier follow-ups use QUICK_MODEL ?? haiku.
Plan:
- New
lib/models.tswith one source of truth:DEFAULT_AGENT_MODEL = "claude-fable-5-1"(+ haiku for the quick tier) and atierModel()helper; launch.ts and the thread page use it, runner.mjs gets the same fallback string (it runs standalone in the sandbox). .env.exampleAGENT_MODEL=fable, schema comment updated.- The picker's "default" option is labelled with the resolved default ("default (fable 5.1)") so nobody has to guess again.
Caveat I'll flag: if AGENT_MODEL is set to sonnet in the Vercel env, that still wins; it needs to be unset or changed to fable there.
threadide@46b19f2Done: Osebot runs now default to Fable 5.1 when the picker is left on "default".
What changed (commit 46b19f2 on thread/a3027dda):
lib/models.tsis the one place the defaults live:DEFAULT_AGENT_MODEL = "claude-fable-5-1", haiku for the decider's quick tier, plustierModel()/modelLabel()helpers.lib/agent/launch.tsand the thread page's live-model badge use it;lib/agent/runner.mjs(standalone in the sandbox) repeats the fallback with a pointer comment.- The picker's default option now reads "default (fable 5.1)" on the thread and workspace composers, so it's visible which model "default" means. The label follows
AGENT_MODELif that is set. .env.examplesaysAGENT_MODEL=fable.
One thing only you can check: if the Vercel project has AGENT_MODEL set (to sonnet or a sonnet id), that env var still overrides the code default. Unset it or set it to fable and redeploy; otherwise production keeps using Sonnet regardless of this PR.
Left as is on purpose: quick-tier follow-ups (the decider's "trivial edit" classification) still go to QUICK_MODEL ?? haiku; say the word if you want those on Fable too.
Verified with npx tsc --noEmit; I can't run a real job in the sandbox.
Merged threadide #139 by @osebo (merge, 82a75ca).