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
{{ message }}
Repository navigation
BYOK: Add GitHub Copilot support (or custom OpenAI-compatible base URL) #13084
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.duplicateThis issue or pull request already exists.enhancementNew feature or request.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review
Currently, BYOK is limited to Anthropic, OpenAI, and Google. Many enterprise users (myself included) have access to GitHub Copilot Business/Enterprise through their organization, which provides access to models like GPT-4o, GPT-4.1, Claude Sonnet 4, and Gemini 2.5 Pro — all through the Copilot API.
What I'm asking for:
Either one of the following:
Native GitHub Copilot provider support in BYOK (authenticate via GitHub OAuth or token)
Why it makes sense:
The GitHub Copilot API is fully OpenAI-compatible. Tools like opencode, Crush, and Continue.dev already support it. Option 2 would also unlock other OpenAI-compatible providers (Azure OpenAI custom deployments, local proxies, etc.) with zero additional effort.
Use case:
Enterprise organizations that provision Copilot seats for developers. These users already have model access paid for by their company and want to use it inside Warp instead of running a separate terminal agent.
Is your feature request related to a problem? Please describe.
If this report is meaningfully different, please comment with the additional context or distinguishing behavior so a maintainer can review it. Otherwise, a maintainer may close it as a duplicate after review.
Maintainer details
I concluded that feature request for GitHub Copilot as a Warp Agent/BYOK inference provider overlaps existing Copilot integration requests; current code supports generic custom inference endpoints but not a native Copilot provider/auth flow..
Duplicate reasoning
Ability to Add GitHub Copilot #7123: Both issues request the ability to use GitHub Copilot as the AI assistant/inference source inside Warp.
Copilot Warp Integration #12736: Both issues ask for Copilot integration in Warp; the new report provides a BYOK/custom-endpoint-oriented framing of the same Copilot-in-Warp capability.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Thanks for the PR. I wouldn’t mark this issue ready-to-implement from this triage pass: that label is reserved for maintainers, and this issue is already triaged as a duplicate.
The requested custom OpenAI-compatible endpoint/base URL behavior most closely overlaps #12251, while native Copilot integration is a separate product question. If there is a PR ready for review, it should be reviewed directly against the canonical linked request rather than relabeling this duplicate issue.
Reasoning
Response mode was selected because this run was triggered by an @oz-agent mention on an already-triaged issue, and the unverified contributor comment asks for a specific lifecycle/label action rather than a fresh initial triage. No label changes should be made in response mode.
The requested ready-to-implement label should not be emitted by automated triage: the core triage workflow reserves ready-to-implement and ready-to-spec for human maintainers. The existing labels (enhancement, duplicate, triaged, repro:high, area:agent) are directionally consistent for an enhancement request that has clear requested behavior and duplicate coverage.
Issue facts: #13084 asks for either native GitHub Copilot BYOK provider support or a custom OpenAI-compatible base URL for the OpenAI BYOK path, with https://api.githubcopilot.com as an example. The reporter’s claim that Copilot is fully OpenAI-compatible should be treated as a proposed implementation path, not a confirmed root cause or design decision.
Code inspection: current Warp code already contains feature-gated custom inference endpoint support. crates/ai/src/api_keys.rs defines ApiKeys.custom_endpoints plus CustomEndpoint fields for name, URL, API key, and models, and ApiKeyManager::custom_model_providers_for_request serializes each configured endpoint as base_url, api_key, and model config_key entries. app/src/settings_view/ai_page.rs renders a Custom inference section with + Add custom model, describes that endpoints must support the OpenAI-compatible Chat Completions API, and stores added/edited endpoints through ApiKeyManager. app/src/ai/agent/api.rs includes custom_model_providers in outgoing agent requests when FeatureFlag::CustomInferenceEndpoints is enabled and the user/workspace is allowed to use custom inference. crates/warp_features/src/lib.rs defines CustomInferenceEndpoints and CustomInferenceEndpointsEnterprise. There is also typed OpenAI secret baseUrl support for Codex harness credentials in app/src/ai/auth_secret_types.rs and app/src/ai/agent_sdk/driver/harness/codex.rs, but that is adjacent harness-auth plumbing rather than the same user-facing BYOK settings path requested by this issue.
Duplicate search: I enumerated all open issues with gh api --paginate, excluding PRs and #13084, and filtered for Copilot/BYOK/custom endpoint/base URL terms. The strongest duplicate is #12251 (BYOK: Support custom model providers (e.g., DeepSeek) beyond Anthropic/OpenAI/Google), which asks for a custom provider with name, base URL, API key, optional model list, model-picker visibility, persistence, and local/cloud availability. #12736 (Copilot Warp Integration) is related but appears to target Copilot CLI/notification/tab integration rather than BYOK provider routing. #12142 (Support direct connections to localhost/private custom AI inference endpoints) is related to private/local endpoint routing after custom endpoints exist, but it is narrower than this issue’s Copilot/custom-base-URL request. Because response mode omits duplicate_of, these findings are captured here rather than as top-level duplicate output.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Hey @brunoagtforte, thanks for the detailed writeup, especially calling out the OpenAI-compatible Copilot endpoint and the enterprise Copilot-seat use case! The custom base URL ask overlaps #12251, which already has a PR in the works (#13087), and the native GitHub Copilot provider side is tracked in the older #7123, so we're going to close this one and keep the discussion on those threads. Feel free to drop any Copilot-specific details on either issue so they stay on the team's radar.
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.duplicateThis issue or pull request already exists.enhancementNew feature or request.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review
Activity
warp-for-oss commentedon Jun 26, 2026
@brunoagtforte
This issue appears to overlap with existing issues:
If this report is meaningfully different, please comment with the additional context or distinguishing behavior so a maintainer can review it. Otherwise, a maintainer may close it as a duplicate after review.
Maintainer details
I concluded that feature request for GitHub Copilot as a Warp Agent/BYOK inference provider overlaps existing Copilot integration requests; current code supports generic custom inference endpoints but not a native Copilot provider/auth flow..
Duplicate reasoning
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
GeekLuffy commentedon Jun 26, 2026
Hi @oz-agent , I have implemented this feature in a PR by adding a custom base URL configuration field to the OpenAI BYOK settings.
Could we get this issue reviewed and marked as
ready-to-implementso the automated reviewer bot can run on the PR? Thank you!warp-for-oss commentedon Jun 26, 2026
@GeekLuffy
Thanks for the PR. I wouldn’t mark this issue
ready-to-implementfrom this triage pass: that label is reserved for maintainers, and this issue is already triaged as a duplicate.The requested custom OpenAI-compatible endpoint/base URL behavior most closely overlaps #12251, while native Copilot integration is a separate product question. If there is a PR ready for review, it should be reviewed directly against the canonical linked request rather than relabeling this duplicate issue.
Reasoning
Response mode was selected because this run was triggered by an
@oz-agentmention on an already-triaged issue, and the unverified contributor comment asks for a specific lifecycle/label action rather than a fresh initial triage. No label changes should be made in response mode.The requested
ready-to-implementlabel should not be emitted by automated triage: the core triage workflow reservesready-to-implementandready-to-specfor human maintainers. The existing labels (enhancement,duplicate,triaged,repro:high,area:agent) are directionally consistent for an enhancement request that has clear requested behavior and duplicate coverage.Issue facts: #13084 asks for either native GitHub Copilot BYOK provider support or a custom OpenAI-compatible base URL for the OpenAI BYOK path, with
https://api.githubcopilot.comas an example. The reporter’s claim that Copilot is fully OpenAI-compatible should be treated as a proposed implementation path, not a confirmed root cause or design decision.Code inspection: current Warp code already contains feature-gated custom inference endpoint support.
crates/ai/src/api_keys.rsdefinesApiKeys.custom_endpointsplusCustomEndpointfields for name, URL, API key, and models, andApiKeyManager::custom_model_providers_for_requestserializes each configured endpoint asbase_url,api_key, and modelconfig_keyentries.app/src/settings_view/ai_page.rsrenders a Custom inference section with+ Add custom model, describes that endpoints must support the OpenAI-compatible Chat Completions API, and stores added/edited endpoints throughApiKeyManager.app/src/ai/agent/api.rsincludescustom_model_providersin outgoing agent requests whenFeatureFlag::CustomInferenceEndpointsis enabled and the user/workspace is allowed to use custom inference.crates/warp_features/src/lib.rsdefinesCustomInferenceEndpointsandCustomInferenceEndpointsEnterprise. There is also typed OpenAI secretbaseUrlsupport for Codex harness credentials inapp/src/ai/auth_secret_types.rsandapp/src/ai/agent_sdk/driver/harness/codex.rs, but that is adjacent harness-auth plumbing rather than the same user-facing BYOK settings path requested by this issue.Duplicate search: I enumerated all open issues with
gh api --paginate, excluding PRs and #13084, and filtered for Copilot/BYOK/custom endpoint/base URL terms. The strongest duplicate is #12251 (BYOK: Support custom model providers (e.g., DeepSeek) beyond Anthropic/OpenAI/Google), which asks for a custom provider with name, base URL, API key, optional model list, model-picker visibility, persistence, and local/cloud availability. #12736 (Copilot Warp Integration) is related but appears to target Copilot CLI/notification/tab integration rather than BYOK provider routing. #12142 (Support direct connections to localhost/private custom AI inference endpoints) is related to private/local endpoint routing after custom endpoints exist, but it is narrower than this issue’s Copilot/custom-base-URL request. Because response mode omitsduplicate_of, these findings are captured here rather than as top-level duplicate output.This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
leesa-ui-w commentedon Jun 26, 2026
Hey @brunoagtforte, thanks for the detailed writeup, especially calling out the OpenAI-compatible Copilot endpoint and the enterprise Copilot-seat use case! The custom base URL ask overlaps #12251, which already has a PR in the works (#13087), and the native GitHub Copilot provider side is tracked in the older #7123, so we're going to close this one and keep the discussion on those threads. Feel free to drop any Copilot-specific details on either issue so they stay on the team's radar.
reneleonhardt commentedon Jul 1, 2026
The PR 13087 has been closed, what's the plan going forward to implement BYOK?