Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
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
Prev Previous commit
Next Next commit
Updated config types
  • Loading branch information
chrisraygill committed Dec 20, 2025
commit 8a4da79b583b99bdc90dac35ccbdc8e8ac10c1b4
22 changes: 11 additions & 11 deletions src/content/docs/docs/integrations/google-genai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ resp, err := genkit.Generate(ctx, g,

Gemini 3 models support the following configuration options for thinking:

- **thinkingLevel** _string_
- **ThinkingLevel** _string_
The reasoning depth for the model (`"HIGH"`, `"MEDIUM"`, `"LOW"`, `"MINIMAL"`).

**Thinking Budget (Gemini 2.5):**
Expand All @@ -1133,10 +1133,10 @@ resp, err := genkit.Generate(ctx, g,

Gemini 2.5 models support the following configuration options for thinking:

- **thinkingBudget** _number_
- **ThinkingBudget** _int32_
The number of tokens the model is allowed to use for internal thinking.

- **includeThoughts** _boolean_
- **IncludeThoughts** _bool_
Whether to include the model's internal thoughts in the response. If enabled, you can access thoughts via `response.Reasoning`.

### Context Caching
Expand Down Expand Up @@ -1212,15 +1212,15 @@ resp, err := genkit.Generate(ctx, g,

The following configuration options are available for Google Search grounding:

- **googleSearch** _object_
- **GoogleSearch** _struct_

Enables Google Search grounding.
Example: `&genai.GoogleSearch{}`

- **dynamicRetrievalConfig** _object_
- **mode** _string_
- **DynamicRetrievalConfig** _struct_
- **Mode** _string_
The retrieval mode (e.g., `"MODE_DYNAMIC"`).
- **dynamicThreshold** _number_
- **DynamicThreshold** _float32_
The threshold for dynamic retrieval (e.g., `0.7`).

### Google Maps Grounding
Expand All @@ -1240,15 +1240,15 @@ resp, err := genkit.Generate(ctx, g,

The following configuration options are available for Google Maps grounding:

- **googleMaps** _object_
- **GoogleMaps** _struct_

Enables Google Maps grounding.
Example: `&genai.GoogleMaps{EnableWidget: genai.Ptr(true)}`

- **enableWidget** _boolean_
- **EnableWidget** _bool_
Whether to include a widget token in the response.

- **toolConfig** _object_
- **ToolConfig** _struct_

Additional configuration for provider tools. Can improve relevance by providing location context for Google Maps.
Example: `&genai.ToolConfig{RetrievalConfig: &genai.RetrievalConfig{...}}`
Expand All @@ -1270,7 +1270,7 @@ resp, err := genkit.Generate(ctx, g,

The following configuration options are available for code execution:

- **codeExecution** _object_
- **CodeExecution** _struct_

Enables code execution for reasoning and calculations.
Example: `&genai.ToolCodeExecution{}`
Expand Down