Explorar el Código

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

CaIon hace 8 meses
padre
commit
1dad04ec09
Se han modificado 1 ficheros con 2 adiciones y 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"`
 }