Skip to content

Commit 4d96066

Browse files
committed
Remove thinker-with-files-gemini from freebuff
1 parent 3d34ad0 commit 4d96066

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

agents/base2/base2.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ export function createBase2(
8888
isFree && 'code-reviewer-lite',
8989
isDefault && 'code-reviewer',
9090
isMax && 'code-reviewer-multi-prompt',
91-
isFree && 'thinker-with-files-gemini',
9291
'thinker-gpt',
9392
'context-pruner',
9493
),
@@ -144,7 +143,6 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
144143
${buildArray(
145144
'- Spawn context-gathering agents (file pickers, code searchers, and web/docs researchers) before making edits. Use the list_directory and glob tools directly for searching and exploring the codebase.',
146145
isFree && 'Do not spawn the thinker-gpt agent, unless the user asks. Not everyone has connected their ChatGPT subscription to Codebuff to allow for it.',
147-
isFree && `Spawn the thinker-with-files-gemini agent for complex problems — it's very smart. Skip it for routine edits and clearly-scoped changes. Pass the relevant filePaths since it has no conversation history.`,
148146
isDefault &&
149147
'- Spawn the editor agent to implement the changes after you have gathered all the context you need.',
150148
(isDefault || isMax) &&
@@ -354,8 +352,6 @@ ${buildArray(
354352
'After getting context on the user request from the codebase or from research, use the ask_user tool to ask the user for important clarifications on their request or alternate implementation strategies. You should skip this step if the choice is obvious -- only ask the user if you need their help making the best choice.',
355353
(isDefault || isMax || isFree) &&
356354
`- For any task requiring 3+ steps, use the write_todos tool to write out your step-by-step implementation plan. Include ALL of the applicable tasks in the list.${isFast ? '' : ' You should include a step to review the changes after you have implemented the changes.'}:${hasNoValidation ? '' : ' You should include at least one step to validate/test your changes: be specific about whether to typecheck, run tests, run lints, etc.'} You may be able to do reviewing and validation in parallel in the same step. Skip write_todos for simple tasks like quick edits or answering questions.`,
357-
isFree &&
358-
`- For complex problems, spawn the thinker-with-files-gemini agent after gathering context. Skip it for routine edits and clearly-scoped changes. Pass the relevant filePaths.`,
359355
(isDefault || isMax) &&
360356
`- For quick problems, briefly explain your reasoning to the user. If you need to think longer, write your thoughts within the <think> tags. Finally, for complex problems, spawn the thinker agent to help find the best solution. (gpt-5-agent is a last resort for complex problems)`,
361357
isDefault &&
@@ -400,8 +396,6 @@ function buildImplementationStepPrompt({
400396
isMax &&
401397
`Keep working until the user's request is completely satisfied${!hasNoValidation ? ' and validated' : ''}, or until you require more information from the user.`,
402398
'Consider loading relevant skills with the skill tool if they might help with the current task. Do not reload skills that were already loaded earlier in this conversation.',
403-
isFree &&
404-
`Spawn the thinker-with-files-gemini agent for complex problems, not routine edits. Pass the relevant filePaths.`,
405399
isMax &&
406400
`You must spawn the 'editor-multi-prompt' agent to implement code changes rather than using the str_replace or write_file tools, since it will generate the best code changes.`,
407401
(isDefault || isMax) &&

common/src/constants/free-agents.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ export const FREE_MODE_AGENT_MODELS: Record<string, Set<string>> = {
3737

3838
// Code reviewer for free mode
3939
'code-reviewer-lite': new Set(['minimax/minimax-m2.7', 'z-ai/glm-5.1']),
40-
41-
// Thinker for free mode
42-
'thinker-with-files-gemini': new Set(['google/gemini-3.1-pro-preview']),
4340
}
4441

4542
/**

common/src/tools/params/tool/spawn-agents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const inputSchema = z
3434
cwd: z.string().optional().describe('Optional working directory relative to project root'),
3535
maxResults: z.number().optional().describe('Max results per file. Default 15'),
3636
})).optional().describe('Array of code search queries (code-searcher)'),
37-
filePaths: z.array(z.string()).optional().describe('Relevant file paths to read (opus-agent, gpt-5-agent, thinker-with-files-gemini)'),
37+
filePaths: z.array(z.string()).optional().describe('Relevant file paths to read (opus-agent, gpt-5-agent)'),
3838
directories: z.array(z.string()).optional().describe('Directories to search within (file-picker)'),
3939
url: z.string().optional().describe('Starting URL to navigate to (browser-use)'),
4040
prompts: z.array(z.string()).optional().describe('Array of strategy prompts (editor-multi-prompt, code-reviewer-multi-prompt)'),

0 commit comments

Comments
 (0)