chore: update verified Anthropic models to the 5.x family

This commit is contained in:
Manuel Escalante
2026-10-26 12:07:18 +01:00
parent f2ef3bebbd
commit 0313e58bd8
2 changed files with 14 additions and 14 deletions
@@ -514,13 +514,10 @@ def get_provider_models():
'message': f'Found {len(models)} local models'
})
# Handle Anthropic - no models list API, return verified models directly
# Handle Anthropic - return verified models directly
if provider == 'anthropic':
models = list(verified_models) if verified_models else [
'claude-3-5-haiku-latest',
'claude-3-5-sonnet-latest',
'claude-3-opus-latest',
]
from ai_providers.anthropic_provider import AnthropicProvider
models = list(verified_models) if verified_models else list(AnthropicProvider.KNOWN_MODELS)
return jsonify({
'success': True,
'models': sorted(models),