Skip to content

Commit 8204819

Browse files
docs
1 parent 3efe2ac commit 8204819

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/docs/configuration/language-model-providers.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ The `reasoningSummary` field controls whether the model returns its reasoning pr
157157

158158
[Vercel AI SDK Google Generative AI Docs](https://ai-sdk.dev/providers/ai-sdk-providers/google-generative-ai)
159159

160+
The `thinkingLevel` field controls the depth of reasoning for Gemini 3 models. Valid values are `minimal`, `low`, `medium`, and `high`. See [thinking levels](https://ai.google.dev/gemini-api/docs/thinking#thinking-levels).
161+
162+
The `thinkingBudget` field sets the number of thinking tokens for Gemini 2.5 models. Set to `-1` for dynamic thinking. See [thinking budget](https://ai.google.dev/gemini-api/docs/thinking#set-budget).
163+
160164
```json wrap icon="code" Example config with Google Generative AI provider
161165
{
162166
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
@@ -168,7 +172,9 @@ The `reasoningSummary` field controls whether the model returns its reasoning pr
168172
"token": {
169173
"env": "GOOGLE_GENERATIVE_AI_API_KEY"
170174
},
171-
"baseUrl": "OPTIONAL_BASE_URL"
175+
"baseUrl": "OPTIONAL_BASE_URL",
176+
"thinkingLevel": "high", // "minimal" | "low" | "medium" | "high" (Gemini 3 models)
177+
"thinkingBudget": -1 // number of thinking tokens, -1 for dynamic (Gemini 2.5 models)
172178
}
173179
]
174180
}
@@ -181,6 +187,10 @@ The `reasoningSummary` field controls whether the model returns its reasoning pr
181187

182188
[Vercel AI SDK Google Vertex AI Docs](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex)
183189

190+
The `thinkingLevel` field controls the depth of reasoning for Gemini 3 models. Valid values are `minimal`, `low`, `medium`, and `high`. See [thinking levels](https://ai.google.dev/gemini-api/docs/thinking#thinking-levels).
191+
192+
The `thinkingBudget` field sets the number of thinking tokens for Gemini 2.5 models. Set to `-1` for dynamic thinking. See [thinking budget](https://ai.google.dev/gemini-api/docs/thinking#set-budget).
193+
184194
```json wrap icon="code" Example config with Google Vertex provider
185195
{
186196
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
@@ -194,7 +204,9 @@ The `reasoningSummary` field controls whether the model returns its reasoning pr
194204
"credentials": {
195205
"env": "GOOGLE_APPLICATION_CREDENTIALS"
196206
},
197-
"baseUrl": "OPTIONAL_BASE_URL"
207+
"baseUrl": "OPTIONAL_BASE_URL",
208+
"thinkingLevel": "high", // "minimal" | "low" | "medium" | "high" (Gemini 3 models)
209+
"thinkingBudget": -1 // number of thinking tokens, -1 for dynamic (Gemini 2.5 models)
198210
}
199211
]
200212
}

0 commit comments

Comments
 (0)