Commit Graph

2 Commits

Author SHA1 Message Date
Paul O'Reilly
ff6228e7ad fix(minimax-provider): correct model name, auth var, and tier overrides
- model_id: MiniMax-M2.7 (was claude-sonnet-4-20250514)
- api_key_env: ANTHROPIC_API_KEY (was ANTHROPIC_AUTH_TOKEN — wrong for interactive CC)
- Add ANTHROPIC_MODEL + all four tier vars (SMALL_FAST, SONNET, OPUS, HAIKU) pointing to
  MiniMax-M2.7 to prevent fallback to Anthropic models on sub-agent calls
- Add API_TIMEOUT_MS=3000000 (50 min) for long-running operations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 18:28:48 +12:00
Paul O'Reilly
a11051e0a8 feat(claude-profile): add provider selection (model + endpoint + credentials)
Introduces provider files (`data/claude-profile/providers/*.yaml`) that
bundle model ID, API base URL, API key source, and extra env vars. Phase 2.5
(provider selection) added between mode selection and launch, with a default
derived from the mode's driver field so existing Anthropic usage is unchanged.

Ships 5 providers: anthropic-haiku/sonnet/opus/opus-1m and minimax-sonnet.
MiniMax token decrypted from agent-runtimes SOPS env, stored at
~/.claude-secrets/minimax-auth-token. Adding new providers = one YAML file,
no script changes.

58 dryrun tests passing (up from 37).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 18:16:22 +12:00