Skip to content

Conversation

@cabljac
Copy link
Contributor

@cabljac cabljac commented Dec 2, 2025

Problem: Short model names like anthropic/claude-3-5-haiku didn't work because the Anthropic API requires full versioned names for Claude 3.x models (e.g. claude-3-5-haiku-20241022), while Claude 4.x models accept short aliases.

Solution: Added a MODEL_VERSION_MAP in src/models.ts that maps Claude 3.x short names to their full API model IDs

Also adds a live test setup for the plugin.

fixes #3876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[JS - Anthropic plugin]: Older model names aren't aliased correctly

2 participants