Add provider guard to migrateSonnet1mToSonnet45() so it only runs for firstParty (Anthropic) users. Without this, a 3P user with model='sonnet[1m]' would have it rewritten to an Anthropic-specific alias that is invalid for OpenAI/Gemini/Ollama providers.
1.7 KiB
1.7 KiB