Skip to content

zarvis: default to claude-opus-4-8 / gpt-5 instead of haiku / gpt-5-mini#333

Merged
edwin-zvs merged 1 commit into
mainfrom
zarvis-default-opus-gpt5
Jun 2, 2026
Merged

zarvis: default to claude-opus-4-8 / gpt-5 instead of haiku / gpt-5-mini#333
edwin-zvs merged 1 commit into
mainfrom
zarvis-default-opus-gpt5

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

What

Bumps the zarvis harness's API-key-based default models from the cheap tier to the flagship tier in resolve_model():

*_API_KEY present before after
ANTHROPIC_API_KEY claude-haiku-4-5 claude-opus-4-8
OPENAI_API_KEY gpt-5-mini gpt-5
neither (Ollama) llama3.1 llama3.1 (unchanged)

Why

A stock zarvis session (no --model, no AGENTD_ZARVIS_MODEL) fell back to the cheapest model. Defaulting to Opus / GPT-5 gives the better out-of-the-box experience.

Scope / not touched

  • Override precedence unchanged — explicit --model / params.model and AGENTD_ZARVIS_MODEL still win over these defaults.
  • title_mode.rs intentionally left on the cheap tier (haiku / gpt-5-mini) — it's the one-shot session-title generator where a small model is the right call; it still honors AGENTD_ZARVIS_MODEL.
  • Doc-comment listing the precedence updated to match.

Where the code lives

This PR only touches crates/adapter-zarvis → the relevant binary is agentd-adapter-zarvis. All workspace binaries were built (debug) in the worktree; the rest are unchanged from main.

Test

cargo build succeeds in the worktree (only pre-existing warnings).

🤖 Generated with Claude Code

The API-key-based fallback defaults in resolve_model() picked the cheap
tier (claude-haiku-4-5 for Anthropic, gpt-5-mini for OpenAI). Bump them
to the flagship models so a stock zarvis session uses Opus / GPT-5 by
default. Explicit --model and AGENTD_ZARVIS_MODEL still take precedence,
and the Ollama fallback is unchanged. Title-generation (title_mode.rs)
intentionally stays on the cheap tier.
@edwin-zvs
edwin-zvs merged commit f9aca41 into main Jun 2, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the zarvis-default-opus-gpt5 branch June 2, 2026 14:29
@edwin-zvs edwin-zvs mentioned this pull request Jun 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