VS Code extension that adds an NVIDIA NIM provider to Copilot Chat.
- VS Code 1.104.0 or later
- GitHub Copilot extension installed and active
- An NVIDIA NIM API key from build.nvidia.com/models
- Clone this repository.
- Run
bun install --ignore-scripts && bun run compile. - Press
F5in VS Code to launch the Extension Development Host.
- Run
bun install --ignore-scripts && bun run package:vsix. - Install the generated
.vsixfile via the Extensions view (Install from VSIX...).
- Open Copilot Chat and choose the model picker.
- Select Manage Models, then add/configure NVIDIA NIM.
- Paste the API key obtained from build.nvidia.com/models.
- Select one of the NVIDIA NIM models returned by your account.
You can also run NVIDIA NIM: Manage NVIDIA NIM API Key from the Command Palette. The extension
will migrate that key into VS Code's language model provider group so the model picker can resolve
NVIDIA NIM models. The VS Code model settings flow is recommended for new setups.
The extension dynamically fetches available models from https://integrate.api.nvidia.com/v1/models.
It does not ship a hardcoded fallback model catalog; the Copilot Chat model picker shows the models
returned by your NVIDIA NIM account.
When NVIDIA's /models response omits tool-calling capability metadata, chat models are treated as
tool-capable so they remain selectable in Copilot Chat Agent mode. Models that explicitly report
tool_calling: false are still treated as non-tool models.
- Open Copilot Chat (
Cmd/Ctrl + Alt + I). - Select NVIDIA NIM from the provider selector.
- Choose one of the dynamically discovered NVIDIA NIM models and start chatting.
bun install --ignore-scripts
bun run compile
bun run lint
bun run test -- --runInBand
bun run test:coveragePress F5 in VS Code to launch the Extension Development Host.
bun run compile– TypeScript コンパイルbun run watch– ファイル変更監視付きコンパイルbun run test– テスト実行bun run test:coverage– カバレッジ付きテスト実行bun run lint– ESLint チェックbun run lint:fix– ESLint 自動修正bun run format– Prettier フォーマットbun run package:vsix– VSIX パッケージ作成
- Architecture — module map, data flow, retry and error handling
- Model Reference — model discovery, capability normalization, family adapters, and known quirks/workarounds
- Contributing — setup, testing, debugging, release steps
bun run package:vsixThe command above produces a .vsix that can be uploaded in the VS Code Marketplace publisher portal.
- Your API key is stored securely through VS Code's language model provider configuration and, for legacy command-palette setup, VS Code SecretStorage.
- Chat completions and model discovery requests are sent to
https://integrate.api.nvidia.com/v1.