dto.go 435 B

123456789
  1. package openrouter
  2. type RequestReasoning struct {
  3. // One of the following (not both):
  4. Effort string `json:"effort,omitempty"` // Can be "high", "medium", or "low" (OpenAI-style)
  5. MaxTokens int `json:"max_tokens,omitempty"` // Specific token limit (Anthropic-style)
  6. // Optional: Default is false. All models support this.
  7. Exclude bool `json:"exclude,omitempty"` // Set to true to exclude reasoning tokens from response
  8. }