Skip to content

feat(gateway): support fable model selection#71

Merged
aptend merged 1 commit into
mainfrom
gateway-model-fable-custom-id
Jun 29, 2026
Merged

feat(gateway): support fable model selection#71
aptend merged 1 commit into
mainfrom
gateway-model-fable-custom-id

Conversation

@aptend

@aptend aptend commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add Claude fable alias probing to gateway /model list
  • remove opus[1m] and sonnet[1m] probe candidates
  • allow users to set any non-empty single-token model id via /model

Tests

  • cargo test -p astra-gateway resolve_model_input_variants
  • cargo test -p astra-gateway cmd_model

@aptend
aptend force-pushed the gateway-model-fable-custom-id branch from b1d9efd to 579c196 Compare June 29, 2026 09:54
@aptend
aptend merged commit 0648e51 into main Jun 29, 2026
1 check passed
aptend added a commit that referenced this pull request Jul 8, 2026
## Summary

Follow-up to #71 (fable model selection). The `is_anthropic_env_key()`
whitelist — which controls which provider env vars are forwarded to the
Claude CLI — had `ANTHROPIC_DEFAULT_OPUS/SONNET/HAIKU_MODEL` but was
missing the `FABLE` variant.

## Change

Add `ANTHROPIC_DEFAULT_FABLE_MODEL` to the whitelist so provider configs
can override the fable alias target through to the Claude CLI,
consistent with the other model aliases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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