fix(gmi): add claude-sonnet-5 to fallback_models

The test test_provider_model_ids_falls_back_to_static_models asserts
provider_model_ids('gmi') == list(_PROVIDER_MODELS['gmi']), but when
live API is unavailable the function returns fallback_models from the
provider profile instead of _PROVIDER_MODELS. Add claude-sonnet-5 to
the GMI plugin's fallback_models to match the curated list update.
This commit is contained in:
liuhao1024 2026-07-01 05:01:17 +08:00 committed by Teknium
parent 877fd7edf5
commit 5d7326a90e

View file

@ -24,6 +24,7 @@ gmi = ProviderProfile(
"moonshotai/Kimi-K2.5",
"google/gemini-3.1-flash-lite-preview",
"anthropic/claude-sonnet-4.6",
"anthropic/claude-sonnet-5",
"openai/gpt-5.4",
),
)