Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support non-free GitHub Copilot Chat endpoints #22901

Open
1 task done
isometry opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

Support non-free GitHub Copilot Chat endpoints #22901

isometry opened this issue Jan 9, 2025 · 0 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) copilot AI feedback for Copilot enhancement [core label] inline completion Umbrella label for Copilot, Supermaven, etc. completions

Comments

@isometry
Copy link

isometry commented Jan 9, 2025

Check for existing issues

  • Completed

Describe the feature

Zed currently hard-codes the non-business Copilot Chat API endpoint as https://api.githubcopilot.com/chat/completions (ref. https://github.com/zed-industries/zed/blob/main/crates/copilot/src/copilot_chat.rs#L16).

In corporate environments in which access to non-Business Copilot tiers has been blocked, GitHub's guidance is to block access to api.githubcopilot.com, api.individual.githubcopilot.com and copilot-proxy.githubusercontent.com; leaving access only to api.business.githubcopilot.com.

To support the correct endpoints for both Individual and Business Copilot tiers, the existing COPILOT_CHAT_COMPLETION_URL variable should be updated to support override via settings.json.

Zed Version and System Specs

Zed: v0.168.2 (Zed)
OS: macOS 15.2.0
Memory: 64 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

config-mockup
@isometry isometry added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jan 9, 2025
@JosephTLyons JosephTLyons added copilot AI feedback for Copilot ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) inline completion Umbrella label for Copilot, Supermaven, etc. completions and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) copilot AI feedback for Copilot enhancement [core label] inline completion Umbrella label for Copilot, Supermaven, etc. completions
Projects
None yet
Development

No branches or pull requests

2 participants