Explorar o código

✨ feat: add Function and Container fields to ResponsesToolsCall struct #1305

CaIon hai 8 meses
pai
achega
1dad04ec09
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      dto/openai_request.go

+ 2 - 0
dto/openai_request.go

@@ -646,4 +646,6 @@ type ResponsesToolsCall struct {
 	Name        string          `json:"name,omitempty"`
 	Description string          `json:"description,omitempty"`
 	Parameters  json.RawMessage `json:"parameters,omitempty"`
+	Function    json.RawMessage `json:"function,omitempty"`
+	Container   json.RawMessage `json:"container,omitempty"`
 }