Skip to content
Open
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/content/docs/docs/integrations/google-genai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ Gemini 2.5 and newer models use an internal thinking process that improves reaso

```typescript
const response = await ai.generate({
model: googleAI.model('gemini-3-pro-preview'),
model: googleAI.model('gemini-3-flash-preview'),
prompt: 'what is heavier, one kilo of steel or one kilo of feathers',
config: {
thinkingConfig: {
thinkingLevel: 'HIGH', // Or 'LOW' or 'MEDIUM'
thinkingLevel: 'HIGH', // Or 'MINIMAL' or 'LOW' or 'MEDIUM'
},
},
Comment on lines 167 to 171
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The indentation for the config block is inconsistent with other code examples in this document. I'm suggesting a fix to align it with the established style for better readability and consistency.

  config: {
    thinkingConfig: {
      thinkingLevel: 'HIGH',  // Or 'MINIMAL' or 'LOW' or 'MEDIUM'
    },
  },

});
Expand Down