Просмотр исходного кода

Merge pull request #2304 from seefs001/fix/claude-missing-field

fix: claude request missing field
Calcium-Ion 3 месяцев назад
Родитель
Сommit
c07331ee21
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      dto/claude.go

+ 3 - 0
dto/claude.go

@@ -203,6 +203,9 @@ type ClaudeRequest struct {
 	Stream            bool            `json:"stream,omitempty"`
 	Tools             any             `json:"tools,omitempty"`
 	ContextManagement json.RawMessage `json:"context_management,omitempty"`
+	OutputConfig      json.RawMessage `json:"output_config,omitempty"`
+	OutputFormat      json.RawMessage `json:"output_format,omitempty"`
+	Container         json.RawMessage `json:"container,omitempty"`
 	ToolChoice        any             `json:"tool_choice,omitempty"`
 	Thinking          *Thinking       `json:"thinking,omitempty"`
 	McpServers        json.RawMessage `json:"mcp_servers,omitempty"`