feat: support adaptive thinking

This commit is contained in:
Papersnake
2026-02-06 11:01:23 +08:00
parent 27825ec377
commit e194b747c3
8 changed files with 44 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ type AwsClaudeRequest struct {
Tools any `json:"tools,omitempty"`
ToolChoice any `json:"tool_choice,omitempty"`
Thinking *dto.Thinking `json:"thinking,omitempty"`
OutputConfig json.RawMessage `json:"output_config,omitempty"`
}
func formatRequest(requestBody io.Reader, requestHeader http.Header) (*AwsClaudeRequest, error) {