mirror of
https://github.com/alibaba/higress.git
synced 2026-05-24 12:47:27 +08:00
fix(ai-proxy): fix Claude protocol conversion issues (#3510)
This commit is contained in:
@@ -30,7 +30,13 @@ const (
|
||||
)
|
||||
|
||||
type NonOpenAIStyleOptions struct {
|
||||
ReasoningMaxTokens int `json:"reasoning_max_tokens,omitempty"`
|
||||
ReasoningMaxTokens int `json:"reasoning_max_tokens,omitempty"`
|
||||
Thinking *thinkingParam `json:"thinking,omitempty"`
|
||||
}
|
||||
|
||||
type thinkingParam struct {
|
||||
Type string `json:"type,omitempty"`
|
||||
BudgetToken int `json:"budget_token,omitempty"`
|
||||
}
|
||||
|
||||
type chatCompletionRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user