You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Copilot BYOK support via COPILOT_API_KEY (#1918)
* Initial plan
* feat: add Copilot BYOK support via COPILOT_API_KEY env var
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/048378d6-92ce-40bd-bf1b-e668cf5ceb38
* test: improve warning message assertion for COPILOT_API_KEY
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/048378d6-92ce-40bd-bf1b-e668cf5ceb38
* fix: address review feedback on BYOK support
- Reword docker-manager comment to clarify placeholder behavior
when api-proxy is enabled
- Update github-copilot example to accept either COPILOT_GITHUB_TOKEN
or COPILOT_API_KEY instead of hard-requiring COPILOT_API_KEY
- Extract resolveCopilotAuthToken() as a testable function with
JSDoc and export it from server.js
- Add 8 unit tests covering precedence, fallback, empty/whitespace
handling, and trimming behavior
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Landon Cox <landon.cox@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments