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
@@ -262,7 +262,7 @@ describe("Context overflow error handling", () => {
// =============================================================================
describe.skipIf(!process.env.XAI_API_KEY)("xAI", () => {
it("grok-3-fast - should detect overflow via isContextOverflow", async () => {
it("grok-4.3 - should detect overflow via isContextOverflow", async () => {
const model = getModel("xai", "grok-4.3");
const result = await testContextOverflow(model, process.env.XAI_API_KEY!);
logResult(result);