You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix model name resolution on native endpoints: unrecognized model names on the native Anthropic endpoint are now passed through as-is instead of falling back to a default model (e.g., gpt4o). This fixes the regression introduced in v2.8.8 where Claude Code's native Anthropic model names (like claude-sonnet-4-20250514) were incorrectly resolved. (Fixes #67)
Fix native OpenAI endpoint: removed incorrect pass-through behavior since the upstream Argo API's /v1/chat/completions endpoint does not accept date-suffixed OpenAI model names (e.g., gpt-4o-2024-08-06), unlike its /v1/messages endpoint which accepts Anthropic native names for Claude 4.x.
Changes
Added as_is parameter to resolve_model_name() for pass-through behavior
Native Anthropic endpoint uses as_is=True (pass-through for unrecognized model names)
Native OpenAI endpoint uses default behavior (fallback to argo internal_id)
Other endpoints (chat, embed) retain the original default fallback behavior