Note
This page is a work in progress. Full setup documentation is coming soon.
VS Code Insiders supports GitHub Copilot Chat with Bring Your Own Key (BYOK), which allows you to route Copilot requests through an OpenAI-compatible API endpoint – including the CBorg API.
Overview
- Tool: VS Code Insiders
- Feature: GitHub Copilot Chat with OpenAI-compatible BYOK provider
- CBorg endpoint:
https://api.cborg.lbl.gov - Status: Experimental – limited model compatibility.
Prerequisites
- A CBorg API key – see API Key Request
- VS Code Insiders installed
Basic Setup
Full step-by-step instructions are in progress. In the meantime:
- Open VS Code Insiders
- Click Manage Modelss at the bottom of the chat input box
- “Hide” the Co-pilot models by clicking the “eyeball” icon
- Click “Add Models” and chose the OpenAI Compatible provider
- Enter a model name, e.g. “lbl/cborg-coder-fast”
- Provide a human-readable name, e.g. “CBorg Coder Fast”
- Enter the context length, e.g. 100000
- Enable “Tool Use”
- Provide the base URL:
https://api.cborg.lbl.gov - Provide your API key
Repeat these steps for each model you wish to add.
Getting Help
If you get stuck, reach out via the CBorg Users Chatroom or contact Science IT.