Skip to content

Commit 8478944

Browse files
chore(gemini): stop overriding tool allow/deny lists (#10592)
1 parent e39abbf commit 8478944

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

packages/types/src/providers/gemini.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export const geminiModels = {
1515
supportsPromptCache: true,
1616
supportsReasoningEffort: ["low", "high"],
1717
reasoningEffort: "low",
18-
includedTools: ["write_file", "edit_file"],
19-
excludedTools: ["apply_diff"],
18+
// includedTools: ["write_file", "edit_file"],
19+
// excludedTools: ["apply_diff"],
2020
supportsTemperature: true,
2121
defaultTemperature: 1,
2222
inputPrice: 4.0,
@@ -43,8 +43,8 @@ export const geminiModels = {
4343
supportsPromptCache: true,
4444
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
4545
reasoningEffort: "medium",
46-
includedTools: ["write_file", "edit_file"],
47-
excludedTools: ["apply_diff"],
46+
// includedTools: ["write_file", "edit_file"],
47+
// excludedTools: ["apply_diff"],
4848
supportsTemperature: true,
4949
defaultTemperature: 1,
5050
inputPrice: 0.3,
@@ -60,8 +60,8 @@ export const geminiModels = {
6060
supportsNativeTools: true,
6161
defaultToolProtocol: "native",
6262
supportsPromptCache: true,
63-
includedTools: ["write_file", "edit_file"],
64-
excludedTools: ["apply_diff"],
63+
// includedTools: ["write_file", "edit_file"],
64+
// excludedTools: ["apply_diff"],
6565
inputPrice: 2.5, // This is the pricing for prompts above 200k tokens.
6666
outputPrice: 15,
6767
cacheReadsPrice: 0.625,
@@ -91,8 +91,8 @@ export const geminiModels = {
9191
supportsNativeTools: true,
9292
defaultToolProtocol: "native",
9393
supportsPromptCache: true,
94-
includedTools: ["write_file", "edit_file"],
95-
excludedTools: ["apply_diff"],
94+
// includedTools: ["write_file", "edit_file"],
95+
// excludedTools: ["apply_diff"],
9696
inputPrice: 2.5, // This is the pricing for prompts above 200k tokens.
9797
outputPrice: 15,
9898
cacheReadsPrice: 0.625,
@@ -121,8 +121,8 @@ export const geminiModels = {
121121
supportsNativeTools: true,
122122
defaultToolProtocol: "native",
123123
supportsPromptCache: true,
124-
includedTools: ["write_file", "edit_file"],
125-
excludedTools: ["apply_diff"],
124+
// includedTools: ["write_file", "edit_file"],
125+
// excludedTools: ["apply_diff"],
126126
inputPrice: 2.5, // This is the pricing for prompts above 200k tokens.
127127
outputPrice: 15,
128128
cacheReadsPrice: 0.625,
@@ -149,8 +149,8 @@ export const geminiModels = {
149149
supportsNativeTools: true,
150150
defaultToolProtocol: "native",
151151
supportsPromptCache: true,
152-
includedTools: ["write_file", "edit_file"],
153-
excludedTools: ["apply_diff"],
152+
// includedTools: ["write_file", "edit_file"],
153+
// excludedTools: ["apply_diff"],
154154
inputPrice: 2.5, // This is the pricing for prompts above 200k tokens.
155155
outputPrice: 15,
156156
cacheReadsPrice: 0.625,
@@ -181,8 +181,8 @@ export const geminiModels = {
181181
supportsNativeTools: true,
182182
defaultToolProtocol: "native",
183183
supportsPromptCache: true,
184-
includedTools: ["write_file", "edit_file"],
185-
excludedTools: ["apply_diff"],
184+
// includedTools: ["write_file", "edit_file"],
185+
// excludedTools: ["apply_diff"],
186186
inputPrice: 0.3,
187187
outputPrice: 2.5,
188188
cacheReadsPrice: 0.075,
@@ -197,8 +197,8 @@ export const geminiModels = {
197197
supportsNativeTools: true,
198198
defaultToolProtocol: "native",
199199
supportsPromptCache: true,
200-
includedTools: ["write_file", "edit_file"],
201-
excludedTools: ["apply_diff"],
200+
// includedTools: ["write_file", "edit_file"],
201+
// excludedTools: ["apply_diff"],
202202
inputPrice: 0.3,
203203
outputPrice: 2.5,
204204
cacheReadsPrice: 0.075,
@@ -213,8 +213,8 @@ export const geminiModels = {
213213
supportsNativeTools: true,
214214
defaultToolProtocol: "native",
215215
supportsPromptCache: true,
216-
includedTools: ["write_file", "edit_file"],
217-
excludedTools: ["apply_diff"],
216+
// includedTools: ["write_file", "edit_file"],
217+
// excludedTools: ["apply_diff"],
218218
inputPrice: 0.3,
219219
outputPrice: 2.5,
220220
cacheReadsPrice: 0.075,
@@ -231,8 +231,8 @@ export const geminiModels = {
231231
supportsNativeTools: true,
232232
defaultToolProtocol: "native",
233233
supportsPromptCache: true,
234-
includedTools: ["write_file", "edit_file"],
235-
excludedTools: ["apply_diff"],
234+
// includedTools: ["write_file", "edit_file"],
235+
// excludedTools: ["apply_diff"],
236236
inputPrice: 0.1,
237237
outputPrice: 0.4,
238238
cacheReadsPrice: 0.025,
@@ -247,8 +247,8 @@ export const geminiModels = {
247247
supportsNativeTools: true,
248248
defaultToolProtocol: "native",
249249
supportsPromptCache: true,
250-
includedTools: ["write_file", "edit_file"],
251-
excludedTools: ["apply_diff"],
250+
// includedTools: ["write_file", "edit_file"],
251+
// excludedTools: ["apply_diff"],
252252
inputPrice: 0.1,
253253
outputPrice: 0.4,
254254
cacheReadsPrice: 0.025,

0 commit comments

Comments
 (0)