provider_options.go

 1package anthropic
 2
 3type ProviderOptions struct {
 4	SendReasoning          *bool                   `mapstructure:"send_reasoning,omitempty"`
 5	Thinking               *ThinkingProviderOption `mapstructure:"thinking,omitempty"`
 6	DisableParallelToolUse *bool                   `mapstructure:"disable_parallel_tool_use,omitempty"`
 7}
 8
 9type ThinkingProviderOption struct {
10	BudgetTokens int64 `mapstructure:"budget_tokens"`
11}
12
13type ReasoningMetadata struct {
14	Signature    string `mapstructure:"signature"`
15	RedactedData string `mapstructure:"redacted_data"`
16}
17
18type CacheControlProviderOptions struct {
19	Type string `mapstructure:"type"`
20}