on main help sign in
fix: enable responses api for github copilot
commit5f7beb0e8c647fd6e8326db2df61760a28c955c4 authorAndrey Nering <andreynering@users.noreply.github.com> dateMon 5 Jan 2026, 13:24 (9 months ago) parent65e20ea
1 file changed+1
internal/agent/coordinator.go+1
internal/agent/coordinator.go+1
@@ -592,6 +592,7 @@ func (c *coordinator) buildOpenaiCompatProvider(baseURL, apiKey string, headers
592592 // Set HTTP client based on provider and debug mode.
593593 var httpClient *http.Client
594594 if providerID == string(catwalk.InferenceProviderCopilot) {
595+ opts = append(opts, openaicompat.WithUseResponsesAPI())
595596 httpClient = copilot.NewClient(isSubAgent, c.cfg.Options.Debug)
596597 } else if c.cfg.Options.Debug {
597598 httpClient = log.NewHTTPClient()