Change summary
internal/agent/coordinator.go | 1 +
1 file changed, 1 insertion(+)
Detailed changes
@@ -592,6 +592,7 @@ func (c *coordinator) buildOpenaiCompatProvider(baseURL, apiKey string, headers
// Set HTTP client based on provider and debug mode.
var httpClient *http.Client
if providerID == string(catwalk.InferenceProviderCopilot) {
+ opts = append(opts, openaicompat.WithUseResponsesAPI())
httpClient = copilot.NewClient(isSubAgent, c.cfg.Options.Debug)
} else if c.cfg.Options.Debug {
httpClient = log.NewHTTPClient()