authorgravatar for ahmed.besic2000@gmail.comAhmed Besic <ahmed.besic2000@gmail.com> 2026-08-30 22:02:43+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-30 16:02:43-04:00
log7880a6e583f8a04db2eaeef2366ce9c81c3f7bec
tree958e9c6ea0970237588daa80671ad0c4e2797a76
parent7980dfddb193864e07a5bcc013b0ccb93fb4300c
signature Signed by PGP key B5690EEEBB952194

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

Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>

2 files changed, 1 insertions(+), 2 deletions(-)

apps/server/src/provider/Layers/GrokProvider.test.ts+1-1
...@@ -214,7 +214,7 @@ describe("buildInitialGrokProviderSnapshot", () => {...@@ -214,7 +214,7 @@ describe("buildInitialGrokProviderSnapshot", () => {
214 expect(snapshot.status).toBe("warning");214 expect(snapshot.status).toBe("warning");
215 expect(snapshot.version).toBeNull();215 expect(snapshot.version).toBeNull();
216 expect(snapshot.message).toContain("Checking Grok");216 expect(snapshot.message).toContain("Checking Grok");
217 expect(snapshot.requiresNewThreadForModelChange).toBe(true);217 expect(snapshot.requiresNewThreadForModelChange).toBeUndefined();
218 }),218 }),
219 );219 );
220});220});
apps/server/src/provider/Layers/GrokProvider.ts-1
...@@ -40,7 +40,6 @@ const GROK_PRESENTATION = {...@@ -40,7 +40,6 @@ const GROK_PRESENTATION = {
40 displayName: "Grok",40 displayName: "Grok",
41 badgeLabel: "Early Access",41 badgeLabel: "Early Access",
42 showInteractionModeToggle: false,42 showInteractionModeToggle: false,
43 requiresNewThreadForModelChange: true,
44} as const;43} as const;
45const EMPTY_CAPABILITIES: ModelCapabilities = createModelCapabilities({44const EMPTY_CAPABILITIES: ModelCapabilities = createModelCapabilities({
46 optionDescriptors: [],45 optionDescriptors: [],