fix: align github copilot request headers

This commit is contained in:
Peter Steinberger
2026-04-24 23:40:37 +01:00
parent 304126ad79
commit 719d6df156
6 changed files with 129 additions and 8 deletions

View File

@@ -90,6 +90,13 @@ openclaw models auth login --provider github-copilot --method device --set-defau
selects the correct transport based on the model ref.
</Accordion>
<Accordion title="Request compatibility">
OpenClaw sends Copilot IDE-style request headers on Copilot transports,
including tool-result and image follow-up turns. It does not enable
provider-level Responses continuation for Copilot unless that behavior has
been verified against Copilot's API.
</Accordion>
<Accordion title="Environment variable resolution order">
OpenClaw resolves Copilot auth from environment variables in the following
priority order: