Skip to content

fix(opencode): pass configured headers to Copilot models - #32815

Merged
rekram1-node merged 1 commit into
devfrom
copilot-model-headers
Jun 18, 2026
Merged

rekram1-node merged 1 commit into
devfrom
copilot-model-headers

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • pass configured GitHub Copilot provider headers to the models discovery request
  • preserve plugin-owned authorization, user agent, and API version headers

Fixes #23816

Verification

  • bun typecheck from packages/opencode

@rekram1-node
rekram1-node merged commit ec50db3 into dev Jun 18, 2026
9 of 10 checks passed
@rekram1-node
rekram1-node deleted the copilot-model-headers branch June 18, 2026 09:48
davidgut1982 pushed a commit to davidgut1982/opencode that referenced this pull request Jun 19, 2026
LuisAlbertoMK pushed a commit to LuisAlbertoMK/opencode that referenced this pull request Jun 21, 2026
BenGu3 pushed a commit to BenGu3/opencode that referenced this pull request Jun 27, 2026
rldona pushed a commit to rldona/FlupCode that referenced this pull request Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

github-copilot plugin: provider.options.headers from config are not sent on the models() request

1 participant