| 72 | Arguments string `json:"arguments"` // OpenAI stringifies args |
| 73 | } |
| 74 | |
| 75 | type chatRequest struct { |
| 76 | Model string `json:"model"` |
| 77 | Messages []wireMessage `json:"messages"` |
| 78 | Tools []Tool `json:"tools,omitempty"` |
| 79 | Stream bool `json:"stream"` |
| 80 | StreamOptions *streamOptions `json:"stream_options,omitempty"` |
| 81 | ReasoningEffort string `json:"reasoning_effort,omitempty"` |
| 82 | } |
| 83 | |
| 84 | // streamOptions: without include_usage, OpenAI-compatible servers omit the |
nothing calls this directly
no outgoing calls
no test coverage detected