History

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

Ahmed Besic committed 2 months ago

Commit 7880a6e1 parent 7980dfd2 files · +1 −2Browse files

Unified · Split

2 files
  1. apps/server/src/provider/Layers/GrokProvider.test.ts +1 −1
  2. apps/server/src/provider/Layers/GrokProvider.ts +0 −1
apps/server/src/provider/Layers/GrokProvider.test.ts+1−1
@@ -214,7 +214,7 @@ describe("buildInitialGrokProviderSnapshot", () => { · 213 unmodified lines
214214 expect(snapshot.status).toBe("warning");
215215 expect(snapshot.version).toBeNull();
216216 expect(snapshot.message).toContain("Checking Grok");
217− expect(snapshot.requiresNewThreadForModelChange).toBe(true);
217+ expect(snapshot.requiresNewThreadForModelChange).toBeUndefined();
218218 }),
219219 );
220220 });
apps/server/src/provider/Layers/GrokProvider.ts+0−1
@@ -40,7 +40,6 @@ const GROK_PRESENTATION = { · 39 unmodified lines
4040 displayName: "Grok",
4141 badgeLabel: "Early Access",
4242 showInteractionModeToggle: false,
43− requiresNewThreadForModelChange: true,
4443 } as const;
4544 const EMPTY_CAPABILITIES: ModelCapabilities = createModelCapabilities({
4645 optionDescriptors: [],

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t