Skip to content

BYOK: Add GitHub Copilot support (or custom OpenAI-compatible base URL) #13084

Closed as duplicate

Description

@brunoagtforte

Pre-submit Checks

Describe the solution you'd like?

Feature request

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:

  1. Native GitHub Copilot provider support in BYOK (authenticate via GitHub OAuth or token)
  2. A custom base URL field in the OpenAI BYOK config, so OpenAI-compatible APIs (like https://api.githubcopilot.com) can be used

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.

No response

Additional context

No response

Operating system (OS)

macOS

How important is this feature to you?

5 (Can't work without it!)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Activity

  1. added
    enhancement
    on Jun 26, 2026
  2. warp-for-oss commented on Jun 26, 2026

    @warp-for-oss
    Contributor

    @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

  3. added
    area:agent
    duplicate
    repro:high
    triaged
    on Jun 26, 2026
  4. GeekLuffy commented on Jun 26, 2026

    @GeekLuffy
    Contributor

    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-implement so the automated reviewer bot can run on the PR? Thank you!

  5. warp-for-oss commented on Jun 26, 2026

    @warp-for-oss
    Contributor

    @GeekLuffy

    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.

    Powered by Oz

  6. leesa-ui-w commented on Jun 26, 2026

    @leesa-ui-w
    Collaborator

    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.

  7. reneleonhardt commented on Jul 1, 2026

    @reneleonhardt

    The PR 13087 has been closed, what's the plan going forward to implement BYOK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentduplicateenhancementrepro:hightriagedwarp:auto-triage-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions