From d63564abb74d573f4499aac3ce3358ebacdfa0b4 Mon Sep 17 00:00:00 2001 From: webtecnica <75556242+webtecnica@users.noreply.github.com> Date: Sun, 12 Jul 2026 10:53:04 -0300 Subject: [PATCH] fix(run): apply Copilot-Integration-Id header on codex_responses credential refresh to fix integrator routing (#63188) --- run_agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run_agent.py b/run_agent.py index fe378f396ae9d..6b92faf6916c4 100644 --- a/run_agent.py +++ b/run_agent.py @@ -4255,6 +4255,7 @@ def _try_refresh_codex_client_credentials(self, *, force: bool = True) -> bool: self.base_url = base_url.strip().rstrip("/") self._client_kwargs["api_key"] = self.api_key self._client_kwargs["base_url"] = self.base_url + self._apply_client_headers_for_base_url(str(self.base_url or "")) if not self._replace_primary_openai_client(reason=f"{self.provider}_credential_refresh"): return False