401 errors after you rotate your key: quit VS Code, then run nexus login. It saves the new key into every connected harness that keeps its own copy, including VS Code.
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.Step-by-step screenshots are in GitHub Copilot. Without the Nexus CLI, you take over the tasks it otherwise performs, such as undo and updates.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Fireworks AI Docs","description":"Official Fireworks AI documentation for inference, deployments, training, Fireworks Nexus, APIs, SDKs, and CLI tools.","colors":{"primary":"#9249e7","light":"#9249e7","dark":"#9249e7"},"logo":{"light":"https://mintcdn.com/fireworksai-docs/k8IlrNKHdagCbcj7/logo/logo.svg?fit=max\u0026auto=format\u0026n=k8IlrNKHdagCbcj7\u0026q=85\u0026s=aa60cf6047af1412adca3c341c1af7cf","dark":"https://mintcdn.com/fireworksai-docs/k8IlrNKHdagCbcj7/logo/logo.svg?fit=max\u0026auto=format\u0026n=k8IlrNKHdagCbcj7\u0026q=85\u0026s=aa60cf6047af1412adca3c341c1af7cf"},"favicon":"https://mintcdn.com/fireworksai-docs/Zmr1JwZl0XCOo6P5/favicon.ico?fit=max\u0026auto=format\u0026n=Zmr1JwZl0XCOo6P5\u0026q=85\u0026s=391f22495764acdbdfd5caf684bd1965","api":{"openapi":["openapi.yml","merged.openapi.yaml"],"playground":{"display":"interactive","proxy":false}},"navbar":{"links":[{"href":"https://discord.gg/fireworks-ai","label":"Community"},{"href":"https://status.fireworks.ai/","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.fireworks.ai/login"}},"footer":{"socials":{"x":"https://x.com/FireworksAI_HQ","discord":"https://discord.gg/fireworks-ai","github":"https://github.com/fw-ai-external","youtube":"https://www.youtube.com/@fireworksai","linkedin":"https://www.linkedin.com/company/fireworks-ai"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://fireworks.ai/terms-of-service"},{"label":"Privacy Policy","href":"https://fireworks.ai/privacy-policy"},{"label":"Licenses","href":"https://fireworks.ai/licenses"},{"label":"Trust","href":"https://trust.fireworks.ai/"}]},{"header":"Contact Us","items":[{"label":"Inquiry Form","href":"https://fireworks.ai/contact"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://fireworks.ai/blog"},{"label":"Cookbook","href":"https://github.com/fw-ai-external/cookbook"},{"label":"Pricing","href":"https://fireworks.ai/pricing"}]}]},"integrations":{"ga4":{"measurementId":"G-2P32PRKZ57"},"koala":{"publicApiKey":"pk_59d6417e241a5b81e050226345f38b26d984"},"posthog":{"apiKey":"phc_OQKVIlbmI9arhxBb1xjo2Wz3zJG40X4RVNPTVHS1Gej","apiHost":"https://app.fireworks.ai/relay-1Gej"}},"contextual":{"options":["copy","view"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fireworksai-docs","hasAudioNarration":false,"actualSubdomain":"fireworksai-docs","customDomains":["fireworks.ai"],"gitSource":{"type":"github","owner":"fw-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecc33eba11dbdcfe6b3252","collectionId":"3e5f4638-3cdf-4039-b943-e381d788088f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecc33eba11dbdcfe6b3252"},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aee371770432e3269a33a99","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API \u0026 SDK Reference","count":108},{"language":"default","tag":"CLI Reference","count":106},{"language":"default","tag":"firectl CLI","count":106},{"language":"default","tag":"Documentation","count":95},{"language":"default","tag":"Deployments","count":50},{"language":"default","tag":"Resources","count":37},{"language":"default","tag":"FAQ","count":32},{"language":"default","tag":"Nexus","count":32},{"language":"default","tag":"Training","count":31},{"language":"default","tag":"Admin","count":23}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#content-area.max-w-xl{max-width:48rem}p[data-component-part=\"step-title\"]{margin-bottom:16px}[data-component-part=\"step-content\"]>:first-child{margin-top:0}.fw-skill-cta{position:fixed;z-index:30;right:max(1rem, env(safe-area-inset-right));bottom:max(5rem, env(safe-area-inset-bottom));width:16.5rem;max-width:calc(100vw - 2rem);margin:0;padding:0;color:#1c1917;font:inherit;line-height:1.2}.fw-skill-cta.is-toc{right:auto;bottom:max(1.5rem, env(safe-area-inset-bottom))}.fw-skill-cta-bar{position:relative;display:flex;flex-direction:column;align-items:center;gap:0.65rem;box-sizing:border-box;width:100%;padding:0.9rem 0.85rem 0.85rem;border:1px solid rgba(146, 73, 231, 0.28);border-radius:1rem;background:#faf7ff;animation:fw-skill-cta-in 0.7s cubic-bezier(0.2, 0.85, 0.3, 1) both}.fw-skill-cta-title{margin:0;color:#171717;font-size:0.95rem;font-weight:700;line-height:1.25;text-align:center;text-wrap:balance}.fw-skill-cta-logos{display:flex;align-items:center;justify-content:center;gap:1rem}.fw-skill-cta-badge{display:flex;flex:none;align-items:center;justify-content:center}.fw-skill-cta-logo{display:block;flex:none;height:1.2rem;width:auto}.fw-skill-cta-badge.is-claude .fw-skill-cta-logo{height:0.9rem}.fw-skill-cta-copy{display:flex;align-items:center;justify-content:center;gap:0.35rem;box-sizing:border-box;width:100%;min-height:0;padding:0.32rem 0.65rem;border:0;border-radius:0.5rem;background:#7c3aed;color:#fff;font:inherit;font-size:0.78rem;font-weight:600;cursor:pointer;transition:background-color 0.15s ease}.fw-skill-cta-copy:hover{background:#6d28d9}.fw-skill-cta-copy.is-copied{background:#ede4ff;color:#5b21b6;cursor:default}.fw-skill-cta-action-icon{flex:none;width:0.85rem;height:0.85rem}.fw-skill-cta-dismiss{position:absolute;top:-0.6rem;right:-0.6rem;display:flex;align-items:center;justify-content:center;width:1.35rem;height:1.35rem;padding:0;border:1px solid rgba(146, 73, 231, 0.28);border-radius:999px;background:#fff;color:#7c3aed;font:inherit;font-size:0.9rem;line-height:1;cursor:pointer}.fw-skill-cta-dismiss:hover{background:#f3edff;color:#1c1917}html.dark .fw-skill-cta-dismiss,html[data-theme=\"dark\"] .fw-skill-cta-dismiss{background:#1c1917;border-color:rgba(167, 139, 250, 0.45);color:#c4b5fd}.fw-skill-cta-dismiss[hidden],.fw-skill-cta-prompt[hidden]{display:none}.fw-skill-cta-prompt{box-sizing:border-box;width:100%;padding:0.45rem 0.6rem;border:1px solid rgba(146, 73, 231, 0.22);border-radius:0.55rem;background:#fff}.fw-skill-cta-prompt-text{display:block;overflow-x:auto;color:#57534e;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:0.68rem;line-height:1.4;white-space:nowrap;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right, #000 85%, transparent);mask-image:linear-gradient(to right, #000 85%, transparent)}.fw-skill-cta-prompt-text::-webkit-scrollbar{display:none}.fw-skill-cta-copy:focus-visible,.fw-skill-cta-dismiss:focus-visible,.fw-skill-cta-prompt:focus-visible{outline:2px solid #9249e7;outline-offset:2px}html.dark .fw-skill-cta-bar,html[data-theme=\"dark\"] .fw-skill-cta-bar{background:#1c1917;border-color:rgba(167, 139, 250, 0.45)}html.dark .fw-skill-cta-logo.is-mono,html[data-theme=\"dark\"] .fw-skill-cta-logo.is-mono{filter:invert(1)}html.dark .fw-skill-cta-title,html[data-theme=\"dark\"] .fw-skill-cta-title{color:#fafaf9}html.dark .fw-skill-cta-copy.is-copied,html[data-theme=\"dark\"] .fw-skill-cta-copy.is-copied{background:rgba(167, 139, 250, 0.18);color:#ddd6fe}html.dark .fw-skill-cta-prompt,html[data-theme=\"dark\"] .fw-skill-cta-prompt{background:#292524;border-color:rgba(167, 139, 250, 0.35)}html.dark .fw-skill-cta-prompt-text,html[data-theme=\"dark\"] .fw-skill-cta-prompt-text{color:#d6d3d1}@media (max-width: 480px){.fw-skill-cta{left:max(1rem, env(safe-area-inset-left));width:auto}}@keyframes fw-skill-cta-in{0%{transform:translateY(14px);opacity:0}55%{transform:translateY(-5px);opacity:1}75%{transform:translateY(2px)}100%{transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.fw-skill-cta-bar{animation:none}}@media print{.fw-skill-cta{display:none}}"},{"filePath":"brand-v2/brand-v2.css","href":"/docs/_mintlify/custom/fireworksai-docs/f00ec2b8f972b8f5/brand-v2/brand-v2.css"}],"page":{"pagePath":"nexus/harnesses/vscode","slug":"/nexus/harnesses/vscode","pageMetadata":{"title":"VS Code","sidebarTitle":"VS Code","description":"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.","href":"/nexus/harnesses/vscode"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Table,Visibility}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`You need Copilot `,_jsx(_components.strong,{children:`Pro or Enterprise`}),`.`]}),`\n`,_jsxs(Visibility,{for:`agents`,children:[_jsx(_components.p,{children:`Support summary:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`API the harness speaks to Fireworks: OpenAI Chat Completions`}),`\n`,_jsx(_components.li,{children:`Nexus Auto: Supported`}),`\n`,_jsxs(_components.li,{children:[`Native web search: Not added by Nexus. See `,_jsx(_components.a,{href:`/nexus/auto#web-search`,children:`Web search`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`Nexus CLI adds a `,_jsx(_components.strong,{children:`Fireworks`}),` provider to GitHub Copilot Chat’s custom endpoints.`]})]}),`\n`,_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[`Plan access: Pro and Team don’t include general access to open models. They use Nexus Auto (`,_jsx(_components.code,{children:`auto`}),`) along with their own Claude or ChatGPT models, and Nexus Auto still sends turns to open models. Enterprise accounts also get general access to open models on Fireworks serverless. See `,_jsx(_components.a,{href:`/nexus/plans`,children:`Plans and Accounts`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start`,children:`Quick start`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Install and sign in`,icon:`download`,children:[_jsx(CodeBlock,{filename:``,wrap:`true`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nexus.fireworks.ai/install.sh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` bash`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`You need Node.js 22 or later, `,_jsx(_components.code,{children:`git`}),`, and `,_jsx(_components.code,{children:`bash`}),`. On Windows, run the installer from Git Bash. PowerShell breaks the script’s line endings.`]}),_jsx(CodeBlock,{filename:``,wrap:`true`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nexus`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Sign in with your browser, or paste a Fireworks API key (`,_jsx(_components.code,{children:`fw_...`}),`).`]}),_jsx(_components.p,{children:`If the Nexus CLI is already installed and signed in, skip to step 2.`})]}),_jsxs(Step,{title:`Quit VS Code`,icon:`power-off`,children:[_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Quit VS Code before you connect or run `,_jsx(_components.code,{children:`off`}),`.`]}),` A running VS Code overwrites the change from memory. If it’s open, Nexus CLI waits until you quit.`]}),_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--force`}),` writes anyway, which isn’t recommended.`]})})]}),_jsxs(Step,{title:`Connect VS Code`,icon:`plug`,children:[_jsx(CodeBlock,{filename:``,wrap:`true`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nexus`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vscode`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Nexus Auto is the default model. To pick another one, run `,_jsx(_components.code,{children:`nexus vscode --model \u003cid>`}),`, such as `,_jsx(_components.code,{children:`--model glm-latest`}),`.`]}),_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`nexus vscode status`}),` shows the provider, where the key comes from, and the configured model.`]})})]}),_jsxs(Step,{title:`Restart and pick a model`,icon:`sparkles`,children:[_jsxs(_components.p,{children:[`Restart VS Code, then pick a model under `,_jsx(_components.strong,{children:`Other Models → Fireworks`}),` in Copilot Chat.`]}),_jsx(Frame,{caption:`VS Code Chat after Nexus CLI, with Auto selected under Fireworks (Enterprise account)`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=daafc0f9cc914522e785ef6b97808b07`,alt:`VS Code Chat model picker showing the Fireworks provider with Auto selected and DeepSeek, GLM, and Kimi models`,\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`1096`,height:`1096`,\"data-path\":`images/nexus/vscode-chat-model-picker.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?w=280\u0026fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=d3626a9b0365da96ec31cb8438ca9660 280w, https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?w=560\u0026fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=ce76e191dc471c4403893a2aa54e634b 560w, https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?w=840\u0026fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=df46fedb454e666e084d95d5897dc855 840w, https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=491f16bbdecc665e5dd0220650832bd7 1100w, https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=a88d0c436733ebe2a789fa36f2241949 1650w, https://mintcdn.com/fireworksai-docs/wK7OMV3yh2TYEQdX/images/nexus/vscode-chat-model-picker.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wK7OMV3yh2TYEQdX\u0026q=85\u0026s=719be4b07dd0bc1646d729c1239d2c8d 2500w`})})]})]}),`\n`,_jsxs(_components.p,{children:[`To restore your original settings, quit VS Code and run `,_jsx(_components.code,{children:`nexus vscode off`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-nexus-auto`,children:`Use Nexus Auto`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Anthropic and OpenAI model turns`}),` need a `,_jsx(_components.a,{href:`/nexus/provider-keys`,children:`Provider Key`}),` from your admin.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`glm-latest`}),` and `,_jsx(_components.code,{children:`glm-fast-latest`}),` are text-only, and `,_jsx(_components.code,{children:`glm-flash-latest`}),` supports images.`]}),`\n`]}),`\n`,_jsx(Visibility,{for:`agents`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Instead of a Provider Key, a developer can save their own key with `,_jsx(_components.code,{children:`nexus auto --anthropic-api-key`}),` or `,_jsx(_components.code,{children:`--openai-api-key`}),` (each prompts for the key) and run `,_jsx(_components.code,{children:`nexus vscode`}),` again. Nexus CLI adds the saved key to the `,_jsx(_components.code,{children:`auto`}),` model’s `,_jsx(_components.code,{children:`requestHeaders`}),` only. A Provider Key needs nothing saved locally.`]}),`\n`,_jsxs(_components.li,{children:[`Nexus CLI never sends `,_jsx(_components.code,{children:`ANTHROPIC_API_KEY`}),` or `,_jsx(_components.code,{children:`OPENAI_API_KEY`}),` from your environment.`]}),`\n`,_jsxs(_components.li,{children:[`Nexus Auto (`,_jsx(_components.code,{children:`auto`}),`) is supported on the Chat Completions API.`]}),`\n`,_jsxs(_components.li,{children:[`Manual setup sends `,_jsx(_components.code,{children:`x-anthropic-api-key`}),` and `,_jsx(_components.code,{children:`x-openai-api-key`}),` headers itself. See `,_jsx(_components.a,{href:`#manual-setup-advanced`,children:`Manual setup (advanced)`}),`.`]}),`\n`]})}),`\n`,_jsx(Heading,{level:`2`,id:`mcp-and-tools`,children:`MCP and tools`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Nexus CLI doesn’t change your MCP servers.`}),`\n`,_jsxs(_components.li,{children:[`Nexus CLI doesn’t add `,_jsx(_components.a,{href:`/nexus/auto#web-search`,children:`web search`}),` to VS Code.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`401 errors after you rotate your key:`}),` quit VS Code, then run `,_jsx(_components.code,{children:`nexus login`}),`. It saves the new key into every connected harness that keeps its own copy, including VS Code.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Fixes for issues that affect every harness are in `,_jsx(_components.a,{href:`/nexus/auto#troubleshooting`,children:`Nexus Auto troubleshooting`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`manual-setup-advanced`,children:`Manual setup (advanced)`}),`\n`,_jsxs(_components.p,{children:[`In Copilot Chat, open `,_jsx(_components.strong,{children:`Language Models`}),`, click `,_jsx(_components.strong,{children:`+ Add Models…`}),`, and choose `,_jsx(_components.strong,{children:`Custom Endpoint`}),`. Use `,_jsx(_components.code,{children:`https://api.fireworks.ai/inference/v1`}),`, your Fireworks key, and a model ID such as `,_jsx(_components.code,{children:`glm-latest`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Step-by-step screenshots are in `,_jsx(_components.a,{href:`/ecosystem/integrations/github-copilot`,children:`GitHub Copilot`}),`. Without the Nexus CLI, you take over `,_jsx(_components.a,{href:`/nexus/manual-setup#what-changes-without-the-nexus-cli`,children:`the tasks it otherwise performs`}),`, such as undo and updates.`]}),`\n`,_jsxs(Visibility,{for:`agents`,children:[_jsx(Heading,{level:`2`,id:`what-the-nexus-cli-writes`,children:`What the Nexus CLI writes`}),_jsxs(_components.p,{children:[`Files: `,_jsx(_components.code,{children:`chatLanguageModels.json`}),` and `,_jsx(_components.code,{children:`state.vscdb`}),`.`]}),_jsx(CodeBlock,{filename:`chatLanguageModels.json`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Fireworks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vendor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customendpoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chat-completions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"${input:chat.lm.secret.fw-...}\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"models\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Auto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.fireworks.ai/inference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxInputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1048575`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxOutputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`131072`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"toolCalling\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestHeaders\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"x-anthropic-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk-ant-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`x-anthropic-api-key`}),` and `,_jsx(_components.code,{children:`x-openai-api-key`}),` headers appear only on the `,_jsx(_components.code,{children:`auto`}),` row, and only for keys you saved with `,_jsx(_components.code,{children:`nexus auto`}),`. Nexus CLI also adds its own attribution headers to every row.`]}),`\n`,_jsxs(_components.li,{children:[`The key is not in `,_jsx(_components.code,{children:`chatLanguageModels.json`}),`. It is stored in `,_jsx(_components.code,{children:`state.vscdb`}),` under a `,_jsx(_components.code,{children:`chat.lm.secret.fw-*`}),` ID, encrypted with Electron `,_jsx(_components.code,{children:`safeStorage`}),`. On Linux, encryption needs `,_jsx(_components.code,{children:`libsecret`}),`. Without it, VS Code only obfuscates the key and Nexus CLI warns you.`]}),`\n`,_jsxs(_components.li,{children:[`If only VS Code Insiders is installed, Nexus CLI uses its `,_jsx(_components.code,{children:`Code - Insiders`}),` folder instead.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`off`}),` restores `,_jsx(_components.code,{children:`chatLanguageModels.json`}),` byte-for-byte and deletes the secret. Providers you set up yourself are untouched.`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`--vscode-path`}),` for a non-default `,_jsx(_components.code,{children:`chatLanguageModels.json`}),`. Nexus CLI then uses the `,_jsx(_components.code,{children:`state.vscdb`}),` next to it.`]}),`\n`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Platform`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`chatLanguageModels.json`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`state.vscdb`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Linux`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.config/Code/User/`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.config/Code/User/globalStorage/`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`macOS`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/Library/Application Support/Code/User/`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/Library/Application Support/Code/User/globalStorage/`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Windows`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`%APPDATA%\\\\Code\\\\User\\\\`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`%APPDATA%\\\\Code\\\\User\\\\globalStorage\\\\`})})]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"VS Code","sidebarTitle":"VS Code","description":"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.","href":"/nexus/harnesses/vscode"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quick start","slug":"quick-start","depth":2,"children":[]},{"title":"Use Nexus Auto","slug":"use-nexus-auto","depth":2,"children":[]},{"title":"MCP and tools","slug":"mcp-and-tools","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Manual setup (advanced)","slug":"manual-setup-advanced","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/fireworksai-docs/0fd851b923cc8880/training-skill-cta.js","/docs/_mintlify/custom/fireworksai-docs/4b5856b7e8267204/brand-v2/brand-v2.js","/docs/_mintlify/custom/fireworksai-docs/2086bd10b26e8d71/not-found-tracking.js"],"subdomain":"fireworksai-docs","siteName":"Fireworks AI Docs","title":"VS Code - Fireworks AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T01:33:30.395Z","originalFileLocation":"nexus/harnesses/vscode.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fireworks AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"VS Code - Fireworks AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fireworks AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://fireworks.ai/docs/nexus/harnesses/vscode\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fireworksai-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Code\u0026amp;title=VS+Code\u0026amp;description=Add+Fireworks+models+and+Nexus+Auto+to+GitHub+Copilot+Chat+in+VS+Code+with+the+Nexus+CLI+or+manual+setup.\u0026amp;theme=e6fc9d8dc703196e3eb71e6d\u0026amp;signature=372a6f49c8b67e19966e5dc3ba7d68f850186ff44a3c4ea48fb28e8a7cf13b9f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"VS Code - Fireworks AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fireworksai-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Code\u0026amp;title=VS+Code\u0026amp;description=Add+Fireworks+models+and+Nexus+Auto+to+GitHub+Copilot+Chat+in+VS+Code+with+the+Nexus+CLI+or+manual+setup.\u0026amp;theme=e6fc9d8dc703196e3eb71e6d\u0026amp;signature=372a6f49c8b67e19966e5dc3ba7d68f850186ff44a3c4ea48fb28e8a7cf13b9f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fireworks AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9249e7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://fireworks.ai/docs/nexus/harnesses/vscode\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/nexus/harnesses/vscode.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://fireworks.ai/#organization\",\"name\":\"Fireworks AI Docs\",\"url\":\"https://fireworks.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fireworksai-docs/k8IlrNKHdagCbcj7/logo/logo.svg?fit=max\u0026auto=format\u0026n=k8IlrNKHdagCbcj7\u0026q=85\u0026s=aa60cf6047af1412adca3c341c1af7cf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://fireworks.ai/docs#website\",\"name\":\"Fireworks AI Docs\",\"url\":\"https://fireworks.ai/docs\",\"publisher\":{\"@id\":\"https://fireworks.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://fireworks.ai/docs/nexus/harnesses/vscode#webpage\",\"url\":\"https://fireworks.ai/docs/nexus/harnesses/vscode\",\"name\":\"VS Code\",\"description\":\"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.\",\"dateModified\":\"2026-11-03T01:33:30.395Z\",\"isPartOf\":{\"@id\":\"https://fireworks.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://fireworks.ai/docs/nexus/harnesses/vscode#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://fireworks.ai/docs/nexus/harnesses/vscode#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Harness Support\",\"item\":\"https://fireworks.ai/docs/nexus/harnesses\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code\",\"item\":\"https://fireworks.ai/docs/nexus/harnesses/claude-code\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"VS Code\",\"item\":\"https://fireworks.ai/docs/nexus/harnesses/vscode\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://fireworks.ai/docs/nexus/harnesses/vscode#article\",\"headline\":\"VS Code\",\"name\":\"VS Code\",\"description\":\"Add Fireworks models and Nexus Auto to GitHub Copilot Chat in VS Code with the Nexus CLI or manual setup.\",\"url\":\"https://fireworks.ai/docs/nexus/harnesses/vscode\",\"mainEntityOfPage\":{\"@id\":\"https://fireworks.ai/docs/nexus/harnesses/vscode#webpage\"},\"dateModified\":\"2026-11-03T01:33:30.395Z\",\"publisher\":{\"@id\":\"https://fireworks.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://fireworks.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fireworks AI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fireworks AI Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"Nexus","groups":[{"group":"Get started","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/nexus"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/nexus/quickstart"},{"title":"Nexus Desktop","sidebarTitle":"Nexus Desktop","href":"/nexus/desktop"},{"title":"Plans and Accounts","sidebarTitle":"Plans and Accounts","href":"/nexus/plans"}]},{"group":"Nexus CLI","pages":[{"title":"Nexus CLI","sidebarTitle":"CLI Setup","href":"/nexus/cli"},{"title":"Manual setup (advanced)","href":"/nexus/manual-setup"},{"title":"CLI Reference","sidebarTitle":"CLI Reference","href":"/nexus/cli-reference"},{"title":"Release Notes","sidebarTitle":"Release Notes","href":"/nexus/release-notes"}]},{"group":"Model Ensembling","pages":[{"title":"Nexus Auto","sidebarTitle":"Nexus Auto","href":"/nexus/auto"},{"title":"Open Models","sidebarTitle":"Open Models","href":"/nexus/open-models"}]},{"group":"Harness Support","pages":[{"title":"Coding Harnesses","sidebarTitle":"Coding Harnesses","href":"/nexus/harnesses"},{"group":"Code","pages":[{"title":"Claude Code","sidebarTitle":"Claude Code","href":"/nexus/harnesses/claude-code"},{"title":"Codex","sidebarTitle":"Codex","href":"/nexus/harnesses/codex"},{"title":"OpenCode","sidebarTitle":"OpenCode","href":"/nexus/harnesses/opencode"},{"title":"Pi","sidebarTitle":"Pi","href":"/nexus/harnesses/pi"},{"title":"DeepSeek Harness","sidebarTitle":"DeepSeek Harness","href":"/nexus/harnesses/deepseek"},{"title":"Cursor IDE","sidebarTitle":"Cursor IDE","description":"Connect Cursor IDE to Fireworks models and Nexus Auto with the Nexus CLI or manual setup.","href":"/nexus/harnesses/cursor"},{"title":"VS Code","sidebarTitle":"VS Code","href":"/nexus/harnesses/vscode"},{"title":"Copilot App","sidebarTitle":"Copilot App","description":"Add Fireworks models and Nexus Auto to the GitHub Copilot desktop app with the Nexus CLI or manual setup.","href":"/nexus/harnesses/copilot-app"},{"title":"Copilot CLI","sidebarTitle":"Copilot CLI","href":"/nexus/harnesses/copilot-cli"}]},{"group":"Cowork","pages":[{"title":"ChatGPT desktop app","sidebarTitle":"ChatGPT Desktop","href":"/nexus/harnesses/chatgpt"},{"title":"Claude Desktop","sidebarTitle":"Claude Desktop","href":"/nexus/harnesses/claude-desktop"}]}]},{"group":"Nexus settings","pages":[{"group":"Model Providers","pages":[{"title":"Provider Keys","sidebarTitle":"Connect Providers","href":"/nexus/provider-keys"},{"title":"Amazon Bedrock Setup","sidebarTitle":"Amazon Bedrock Setup","href":"/nexus/provider-keys/bedrock"}]},{"title":"Spend Limits","sidebarTitle":"Spend Limits","href":"/nexus/usage-limits"}]},{"group":"Security \u0026 Compliance","pages":[{"title":"Data Security \u0026 Privacy","sidebarTitle":"Data Security \u0026 Privacy","href":"/nexus/data-security"},{"title":"Enterprise Controls","sidebarTitle":"Enterprise Controls","href":"/nexus/enterprise-controls"}]},{"group":"More","pages":[{"title":"APIs and SDKs","sidebarTitle":"APIs and SDKs","href":"/nexus/apis-and-sdks"},{"title":"LLM Gateways","sidebarTitle":"LLM Gateways","href":"/nexus/llm-gateways"},{"title":"Usage and Cost","sidebarTitle":"Usage and Cost","href":"/nexus/metrics"},{"title":"Effort","sidebarTitle":"Effort","href":"/nexus/orchestration-preferences"},{"title":"Estimated Savings","sidebarTitle":"Estimated Savings","href":"/nexus/estimated-savings"}]}]},{"tab":"API \u0026 SDK Reference","pages":[{"title":"API \u0026 SDK Reference","href":"/api-reference/introduction"}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/tools-sdks/firectl/firectl"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/updates/changelog"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/tools-sdks/openai-compatibility"}]}]},"basePath":"","title":"VS Code - Fireworks AI Docs","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BDAj7nBh.js","DynamicMarkdown-Bq09mRwR.js","zoom-image-lightbox-CypZe82l.js","lightbox-handle-r17bVUz3.js"]}