Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/types/src/providers/gemini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export const geminiModels = {
supportsPromptCache: true,
supportsReasoningEffort: ["low", "high"],
reasoningEffort: "low",
includedTools: ["write_file", "edit_file"],
excludedTools: ["apply_diff"],
// includedTools: ["write_file", "edit_file"],
// excludedTools: ["apply_diff"],
Comment on lines +18 to +19

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting out includedTools/excludedTools changes native Gemini provider behavior: edit_file (custom tool) will no longer be opt-in enabled by default and apply_diff becomes available again. If this is intended only to let router/tool-preference logic drive tool selection, consider removing these commented lines (and updating src/api/providers/utils/router-tool-preferences.ts docs) to avoid future drift.

Suggested change
// includedTools: ["write_file", "edit_file"],
// excludedTools: ["apply_diff"],
// Tool allow/deny is configured by router/tool-preference logic; keep unset here.

Fix it with Roo Code or mention @roomote and request a fix.

supportsTemperature: true,
defaultTemperature: 1,
inputPrice: 4.0,
Expand All @@ -43,8 +43,8 @@ export const geminiModels = {
supportsPromptCache: true,
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
reasoningEffort: "medium",
includedTools: ["write_file", "edit_file"],
excludedTools: ["apply_diff"],
// includedTools: ["write_file", "edit_file"],
// excludedTools: ["apply_diff"],
supportsTemperature: true,
defaultTemperature: 1,
inputPrice: 0.3,
Expand Down
Loading