Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.
Nexus CLI adds a Fireworks provider to GitHub Copilot Chat’s custom endpoints. This requires Copilot Pro or Enterprise.PreviewOpenAI Chat CompletionsNexus Auto
Requires Node.js 18 or later, git, and bash. On Windows, run it from Git Bash; PowerShell breaks the script’s line endings.
nexus login
Sign in with your browser, or paste a Fireworks key.Already set up? Skip to step 2.
Quit VS Code
Quit VS Code before connecting or running off.
Connect VS Code
nexus vscodenexus vscode status
Restart and pick a model
Restart VS Code, then pick a model under Other Models → Fireworks in Copilot Chat. glm-latest and glm-fast-latest are text-only; glm-flash-latest supports images.
VS Code Chat after Nexus CLI, with Auto selected under Fireworks
nexus vscode status shows the provider, where the key comes from, and the configured model.
In Copilot Chat, open Language Models, click + Add Models…, and choose Custom Endpoint. Use https://api.fireworks.ai/inference/v1, your Fireworks key, and a model ID such as glm-latest.Follow the step-by-step screenshots in GitHub Copilot.See what changes without the Nexus CLI.
The key is stored separately in state.vscdb, encrypted with Electron safeStorage. On Linux, encryption needs libsecret; without it, VS Code only obfuscates the key and Nexus CLI warns you.