Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

17 righe
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. }