Browse Source

Removed grok

Alvin Unreal 2 months ago
parent
commit
297298eef4
5 changed files with 15 additions and 15 deletions
  1. 1 1
      README.md
  2. 2 2
      src/cli/install.ts
  3. 5 5
      src/cli/providers.test.ts
  4. 6 6
      src/cli/providers.ts
  5. 1 1
      src/tools/quota/command.ts

+ 1 - 1
README.md

@@ -126,7 +126,7 @@ Ask these questions **one at a time**, waiting for responses:
 Help the user understand the tradeoffs:
 - Antigravity via cliproxy provides Claude + Gemini routing.
 - OpenAI is optional; it enables `openai/` models.
-- If the user has **no providers**, the plugin still works using **OpenCode Zen** free models. They can switch to paid providers later by editing `~/.config/opencode/oh-my-opencode-slim.json`.
+- If the user has **no providers**, the plugin still works using **OpenCode Zen** free models (`opencode/big-pickle`). They can switch to paid providers later by editing `~/.config/opencode/oh-my-opencode-slim.json`.
 
 ---
 

+ 2 - 2
src/cli/install.ts

@@ -111,7 +111,7 @@ function formatConfigSummary(config: InstallConfig): string {
   lines.push(
     `  ${config.hasOpenAI ? SYMBOLS.check : `${DIM}○${RESET}`} OpenAI`,
   );
-  lines.push(`  ${SYMBOLS.check} Opencode Zen (Grok)`); // Always enabled
+  lines.push(`  ${SYMBOLS.check} Opencode Zen (Big Pickle)`); // Always enabled
   lines.push(
     `  ${config.hasTmux ? SYMBOLS.check : `${DIM}○${RESET}`} Tmux Integration`,
   );
@@ -268,7 +268,7 @@ async function runInstall(config: InstallConfig): Promise<number> {
 
   if (!config.hasAntigravity && !config.hasOpenAI) {
     printWarning(
-      'No providers configured. Zen Grok models will be used as fallback.',
+      'No providers configured. Zen Big Pickle models will be used as fallback.',
     );
   }
 

+ 5 - 5
src/cli/providers.test.ts

@@ -79,14 +79,14 @@ describe('providers', () => {
     expect(config.preset).toBe('zen-free');
     const agents = (config.presets as any)['zen-free'];
     expect(agents).toBeDefined();
-    expect(agents.orchestrator.model).toBe('opencode/grok-code');
+    expect(agents.orchestrator.model).toBe('opencode/big-pickle');
     expect(agents.orchestrator.variant).toBeUndefined();
     // Should NOT include other presets
     expect((config.presets as any).cliproxy).toBeUndefined();
     expect((config.presets as any).openai).toBeUndefined();
   });
 
-  test('generateLiteConfig uses zen-free grok-code models', () => {
+  test('generateLiteConfig uses zen-free big-pickle models', () => {
     const config = generateLiteConfig({
       hasAntigravity: false,
       hasOpenAI: false,
@@ -96,10 +96,10 @@ describe('providers', () => {
 
     expect(config.preset).toBe('zen-free');
     const agents = (config.presets as any)['zen-free'];
-    expect(agents.orchestrator.model).toBe('opencode/grok-code');
-    expect(agents.oracle.model).toBe('opencode/grok-code');
+    expect(agents.orchestrator.model).toBe('opencode/big-pickle');
+    expect(agents.oracle.model).toBe('opencode/big-pickle');
     expect(agents.oracle.variant).toBe('high');
-    expect(agents.librarian.model).toBe('opencode/grok-code');
+    expect(agents.librarian.model).toBe('opencode/big-pickle');
     expect(agents.librarian.variant).toBe('low');
   });
 

+ 6 - 6
src/cli/providers.ts

@@ -64,12 +64,12 @@ export const MODEL_MAPPINGS = {
     fixer: { model: 'openai/gpt-5.1-codex-mini', variant: 'low' },
   },
   'zen-free': {
-    orchestrator: { model: 'opencode/grok-code' },
-    oracle: { model: 'opencode/grok-code', variant: 'high' },
-    librarian: { model: 'opencode/grok-code', variant: 'low' },
-    explorer: { model: 'opencode/grok-code', variant: 'low' },
-    designer: { model: 'opencode/grok-code', variant: 'medium' },
-    fixer: { model: 'opencode/grok-code', variant: 'low' },
+    orchestrator: { model: 'opencode/big-pickle' },
+    oracle: { model: 'opencode/big-pickle', variant: 'high' },
+    librarian: { model: 'opencode/big-pickle', variant: 'low' },
+    explorer: { model: 'opencode/big-pickle', variant: 'low' },
+    designer: { model: 'opencode/big-pickle', variant: 'medium' },
+    fixer: { model: 'opencode/big-pickle', variant: 'low' },
   },
 } as const;
 

+ 1 - 1
src/tools/quota/command.ts

@@ -39,7 +39,7 @@ try {
     fs.writeFileSync(commandFile, commandContent, 'utf-8');
   } else {
     const currentContent = fs.readFileSync(commandFile, 'utf-8');
-    if (currentContent.includes('model: opencode/grok-code')) {
+    if (currentContent.includes('model: opencode/big-pickle')) {
       fs.writeFileSync(commandFile, commandContent, 'utf-8');
     }
   }