Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 4, 2025

Automated Fix by Amber Agent

This PR addresses issue #434 using the Amber background agent.

Changes Summary

  • Action Type: auto-fix
  • Commit: e185250
  • Triggered by: Issue label/command

Pre-merge Checklist

  • All linters pass
  • All tests pass
  • Changes follow project conventions (CLAUDE.md)
  • No scope creep beyond issue description

Reviewer Notes

This PR was automatically generated. Please review:

  1. Code quality and adherence to standards
  2. Test coverage for changes
  3. No unintended side effects

🤖 Generated with Amber Background Agent

Closes #434

The frontend stores short model names (e.g., 'claude-opus-4-5') but the
Anthropic API requires full model IDs with date suffixes (e.g.,
'claude-opus-4-5-20251101'). Previously, model mapping was only applied
when using Vertex AI, causing Claude Opus 4.5 and other models to fail
when using the direct Anthropic API.

This fix:
- Adds _map_to_anthropic_model() method to map short names to full IDs
- Applies model mapping for both Anthropic and Vertex AI providers
- Updates default model format to match Anthropic API convention
- Improves logging to distinguish between Anthropic and Vertex mappings
- Adds comprehensive test coverage for Anthropic model mapping

Fixes #434

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

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

amber-generated PR created by Amber background agent auto-fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Amber] Claude Opus 4.5 is not available in chat despite being selected when session was created

1 participant