fix(ai): prevent removed xAI models regenerating, closes #6736

This commit is contained in:
Armin Ronacher
2026-07-16 20:07:36 +02:00
parent 78ff249436
commit c1b7856e26
11 changed files with 41 additions and 160 deletions
+1 -1
View File
@@ -747,7 +747,7 @@ Many models support thinking/reasoning capabilities where they can show their in
const model = models.getModel('anthropic', 'claude-sonnet-4-5')!;
// or models.getModel('openai', 'gpt-5-mini');
// or models.getModel('google', 'gemini-2.5-flash');
// or models.getModel('xai', 'grok-code-fast-1');
// or models.getModel('xai', 'grok-4.5');
// Check if model supports reasoning
if (model.reasoning) {