Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

17 rader
586 B

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