fix(grok): allow model changes in existing threads (#8392)

Co-authored-by: Ahmed Besic <[email protected]>
This commit is contained in:
Ahmed BesicandAhmed Besic authored and GitHub committed 2026-08-30 16:02:43 -04:00
1 parent 7980dfddb1
commit 7880a6e583
2 files changed
+1 -2

No files matched your search

@@ -214,7 +214,7 @@ describe("buildInitialGrokProviderSnapshot", () => {
expect(snapshot.status).toBe("warning");
expect(snapshot.version).toBeNull();
expect(snapshot.message).toContain("Checking Grok");
expect(snapshot.requiresNewThreadForModelChange).toBe(true);
expect(snapshot.requiresNewThreadForModelChange).toBeUndefined();
}),
);
});
@@ -40,7 +40,6 @@ const GROK_PRESENTATION = {
displayName: "Grok",
badgeLabel: "Early Access",
showInteractionModeToggle: false,
requiresNewThreadForModelChange: true,
} as const;
const EMPTY_CAPABILITIES: ModelCapabilities = createModelCapabilities({
optionDescriptors: [],