continue-custom/extensions/vscode
Dallin Romney 15ea93dae0
feat: add useResponsesApi option to opt out of Responses API (#11809)
* feat: add `useResponsesApi` option to allow opting out of OpenAI Responses API

Add a `useResponsesApi` config option that, when set to false, forces
o-series and gpt-5 models to use /chat/completions instead of /responses.
This helps users whose organizations are not verified avoid "organization
must be verified" errors related to reasoning summaries and streaming.

The option gates both code paths where the Responses API is selected:
- `canUseOpenAIResponses()` in BaseLLM (native path)
- `shouldUseResponsesEndpoint()` in the OpenAI adapter

Closes #11772
Related: #8209, #7129

* feat: suggest `useResponsesApi: false` in org verification error messages

Update error detection to also catch "organization must be verified to
stream" errors (in addition to reasoning summaries), and update the
error message to suggest adding `useResponsesApi: false` to model config
as a workaround.

* fix: improve org verification error message copy

* fix: add useResponsesApi to LLMOptions in index.d.ts

The actual type definitions used by tsc are in core/index.d.ts, not in
the string template in config/types.ts.

* fix: also check provider name when detecting org verification errors

The error message from OpenAI's API doesn't always contain the word
"openai" — check the provider name from the model config as well.

* feat: detect missing authentication header error and suggest adding apiKey

* fix: handle missing auth error directly in 401 dialog block

The 401 status code handler in StreamError.tsx renders before the
customErrorMessage check, so detect the missing authentication error
inline within the 401 block.

* Revert "fix: handle missing auth error directly in 401 dialog block"

This reverts commit 0053957d2df7c64ddea2279982f5e07e2cee1020.

* style: fix prettier formatting in index.d.ts

* style: revert unrelated prettier reformatting in index.d.ts

* fix: handle undefined providerName in error analysis

* fix: use YAML-style formatting in useResponsesApi suggestion
2026-03-25 16:09:46 -07:00
..
e2e chore: sonnet 4.5 preference 2025-12-02 12:35:27 -08:00
media delete old gifs 2025-08-06 16:53:57 -07:00
models fix: formatting 2025-06-02 13:51:36 -07:00
scripts fix: ensure cross-target LanceDB binaries are correctly copied (#9100) 2025-12-10 10:39:42 -08:00
src chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
tag-qry 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
textmate-syntaxes npx prettier --check "extensions/vscode/**/*.{js,jsx,ts,tsx,json,css,md 2025-05-25 18:38:44 -07:00
tree-sitter fix: make tree-sitter lookup in .js and .ts files pick up only last preceding comment before code block 2025-12-06 09:42:53 -05:00
.continueignore 🪄 model dropdown, control plane (#1692) 2024-07-08 22:05:21 -07:00
.eslintrc.json show plugin working 2025-06-13 22:38:04 +05:30
.gitignore parallel node sqlite and esbuild downloads 2025-06-06 20:39:03 +05:30
.npmrc ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
.vscodeignore chore(vscode): stop ignoring all .exe files in .vscodeignore 2025-10-01 05:32:44 +02:00
config_schema.json feat: add useResponsesApi option to opt out of Responses API (#11809) 2026-03-25 16:09:46 -07:00
continue_tutorial.py docs: features to ide extensions (#8219) 2025-10-13 18:43:47 -04:00
CONTRIBUTING.md remove note 2025-05-10 18:43:02 -07:00
entitlements.plist fix: include access to the Documents folder 2024-12-05 10:29:33 -08:00
LICENSE.txt
package-lock.json fix: don't skip installs by default and sync lock file (#11837) 2026-03-25 15:43:42 -07:00
package.json fix: don't skip installs by default and sync lock file (#11837) 2026-03-25 15:43:42 -07:00
README.md fix: update extensions readme docs urls (#10776) 2026-03-09 23:58:06 -07:00
rules.md feat: rebrand assistants as agents (#7227) 2025-08-18 16:25:30 -07:00
settings.json test: set up e2e tests for gui 2024-12-04 14:51:40 -08:00
tsconfig.e2e.json test: update e2e tests 2024-12-04 16:28:10 -08:00
tsconfig.json reinstate mocha tests 2025-06-17 14:57:47 -07:00
vitest.config.ts feat: vitest 2025-06-12 15:51:28 -07:00
vsc-extension-quickstart.md Use schema for the configuration JSON schema itself 2024-12-07 15:04:22 +01:00

Continue logo

Continue

VS Code Agent

Agent to work on development tasks together with AI

agent

VS Code Chat

Chat to ask general questions and clarify code sections

chat

VS Code Edit

Edit to modify a code section without leaving your current file

edit

VS Code Autocomplete

Autocomplete to receive inline code suggestions as you type

autocomplete

License

Apache 2.0 © 2023-2025 Continue Dev, Inc.