Skip to content

Conversation

@subtleGradient
Copy link
Contributor

  • Add fetch example for google/gemini-3-pro-preview reasoning
  • Add comprehensive documentation at docs/gemini-thinking.md
  • Update shared types to include reasoning and reasoning_details fields
  • Example demonstrates:
    • Basic reasoning/thinking mode usage
    • Token budget configuration (max_tokens: 2000)
    • Accessing reasoning text and details
    • Token usage metrics

Model: google/gemini-3-pro-preview

  • Max reasoning tokens: 200,000
  • Context window: 1M tokens
  • Reasoning: MANDATORY (always enabled)
  • Created: 2025-11-18

Tested successfully:

  • HTTP 200 response
  • Reasoning tokens: 1,628
  • Full reasoning process captured
  • Structured reasoning_details present

- Add fetch example for google/gemini-3-pro-preview reasoning
- Add comprehensive documentation at docs/gemini-thinking.md
- Update shared types to include reasoning and reasoning_details fields
- Example demonstrates:
  - Basic reasoning/thinking mode usage
  - Token budget configuration (max_tokens: 2000)
  - Accessing reasoning text and details
  - Token usage metrics

Model: google/gemini-3-pro-preview
- Max reasoning tokens: 200,000
- Context window: 1M tokens
- Reasoning: MANDATORY (always enabled)
- Created: 2025-11-18

Tested successfully:
- HTTP 200 response
- Reasoning tokens: 1,628
- Full reasoning process captured
- Structured reasoning_details present
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.


### Fetch API

```typescript
Copy link
Contributor Author

Choose a reason for hiding this comment

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

remove code from docs/gemini-thinking.md
link to specific examples instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants