Copilot Bridge elevates the VS Code experience by transforming it into a local OpenAI-compatible gateway for GitHub Copilot. This extension enables developers to leverage their already-paid-for Copilot subscription directly from their favorite CLI tools and applications.
Copilot Bridge transforms Visual Studio Code into a local gateway compatible with OpenAI, allowing users to utilize the GitHub Copilot capabilities already subscribed to. By using this extension, requests remain on the local machine, offering a seamless experience while maintaining traffic security.
127.0.0.1 by default.To interact with the extension, simply use curl commands:
curl http://127.0.0.1:PORT/v1/models
curl -N -H "Content-Type: application/json" \
-d '{"model":"gpt-4o-copilot","messages":[{"role":"user","content":"hello"}]}' \
http://127.0.0.1:PORT/v1/chat/completions
The architecture of Copilot Bridge ensures responsive interactions by managing request loads efficiently, utilizing the capabilities of VS Code’s Language Model API. It is designed for local use, thereby reinforcing privacy and minimizing security risks.
For further details or to contribute, visit the GitHub repository.
No comments yet.
Sign in to be the first to comment.