Skip to content

fix(builder): start a standard recipe on a provider that is set and serves its participants - #675

Merged
aitianshi merged 5 commits into
mainfrom
fix/builder-default-provider
Dec 2, 2026
Merged

aitianshi merged 5 commits into
mainfrom
fix/builder-default-provider

Conversation

@aitianshi

@aitianshi aitianshi commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • With only ANTHROPIC_API_KEY set, a new Terminal-Bench recipe opened with Claude Code on "OpenAI · not set in Settings". Same for SWE-bench Verified, OSWorld1 and ClawMark Original.
  • The default was picked once, for a chat agent, before the benchmark and participants were known.
  • Now a new recipe starts on the first provider set that serves its participants. A later change picks again only when the provider no longer serves or is not set; a switch drops an OpenRouter-only Served by. A named endpoint set alone is picked with its id.
  • A choice on the Model step (or a typed openrouter/ or openai/ prefix), a saved recipe and a draft keep their own.
  • Provider lists, the agent's, judge's and simulator's, show only providers set, at any count. A recipe on one not set shows "Choose a provider". None set: every one that fits, as before.
  • Command side left alone: the CLI has no default provider; a recipe without one is refused.

Before and after

At 1280 px, Model step, Terminal-Bench with Claude Code, only Anthropic set.

Before After
Before: OpenAI, not set in Settings After: Anthropic, the only provider listed

Verified

  • test_a_new_recipe_starts_on_the_first_provider_set extended; each new case fails on the commit before it.
  • Merged with main (feat(standard): a provider per role for the judge and user simulator #611, per-role providers). Routes 966, backend 3656: OK.
  • Headless Chromium at 1280 and 390 px: new recipe on Anthropic; a draft on OpenAI shows "Choose a provider"; τ³ judge and simulator lines; no sideways scroll, no page errors.

Risk

  • A typed provider prefix now also drops a named endpoint and an OpenRouter-only Served by, as choosing the provider does.
  • Undo: revert.

Agents

  • Claude Code, Opus 5.5
  • Claude Code code review, Opus 5.5

@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
…rovider

# Conflicts:
#	app/static/builder/command-builder-core.js
@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
…rovider

# Conflicts:
#	app/static/builder/command-builder-core.js
#	app/static/builder/command-builder.js
@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@aitianshi
aitianshi marked this pull request as ready for review December 2, 2026 08:14
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🟢 PR judge · 4 of 4 yes · #675, no linked issue

Merge risk 🟠 SIGNIFICANT the judge's reading of the diff
Depth 🟢 LOW no path reaches past the surface
Question Verdict
Changes do what the issue asks –
Issue and pull request describe the same change –
Description matches the diff ✅ yes
Diff stays in scope ✅ yes
Risk named in the description ✅ yes
Before and after shown · 2 images · the diff touches what is visible ✅ yes
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
@aitianshi
aitianshi merged commit 99e08ab into main Dec 2, 2026
7 checks passed
@aitianshi
aitianshi deleted the fix/builder-default-provider branch December 2, 2026 08:23
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant