|
|
@@ -267,7 +267,7 @@ type OpenAIResponsesResponse struct {
|
|
|
ID string `json:"id"`
|
|
|
Object string `json:"object"`
|
|
|
CreatedAt int `json:"created_at"`
|
|
|
- Status string `json:"status"`
|
|
|
+ Status json.RawMessage `json:"status"`
|
|
|
Error any `json:"error,omitempty"`
|
|
|
IncompleteDetails *IncompleteDetails `json:"incomplete_details,omitempty"`
|
|
|
Instructions string `json:"instructions"`
|
|
|
@@ -275,14 +275,14 @@ type OpenAIResponsesResponse struct {
|
|
|
Model string `json:"model"`
|
|
|
Output []ResponsesOutput `json:"output"`
|
|
|
ParallelToolCalls bool `json:"parallel_tool_calls"`
|
|
|
- PreviousResponseID string `json:"previous_response_id"`
|
|
|
+ PreviousResponseID json.RawMessage `json:"previous_response_id"`
|
|
|
Reasoning *Reasoning `json:"reasoning"`
|
|
|
Store bool `json:"store"`
|
|
|
Temperature float64 `json:"temperature"`
|
|
|
- ToolChoice string `json:"tool_choice"`
|
|
|
+ ToolChoice json.RawMessage `json:"tool_choice"`
|
|
|
Tools []map[string]any `json:"tools"`
|
|
|
TopP float64 `json:"top_p"`
|
|
|
- Truncation string `json:"truncation"`
|
|
|
+ Truncation json.RawMessage `json:"truncation"`
|
|
|
Usage *Usage `json:"usage"`
|
|
|
User json.RawMessage `json:"user"`
|
|
|
Metadata json.RawMessage `json:"metadata"`
|