continue-custom/gui
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
..
public feat: model updates and + z.ai (#10638) 2026-02-20 00:35:44 -08:00
src feat: add useResponsesApi option to opt out of Responses API (#11809) 2026-03-25 16:09:46 -07:00
.eslintrc.json remove all barrel extensions 2025-06-19 13:42:43 -07:00
.gitignore feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
index.html chore: prettier bulk apply in gui 2024-11-10 21:45:13 -08:00
indexConsole.html Add rich logging of LLM interactions 2025-04-07 14:11:38 -04:00
package-lock.json Update Node.js LTS to v20.20.1 (#11506) 2026-03-24 11:36:07 -07:00
package.json Update Node.js LTS to v20.20.1 (#11506) 2026-03-24 11:36:07 -07:00
postcss.config.cjs chore: prettier bulk apply in gui 2024-11-10 21:45:13 -08:00
README.md ✨ merge preview to main (#575) 2023-10-22 19:34:44 -07:00
rules.md chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
tailwind.config.cjs dallins feedback 2025-09-09 00:54:09 -07:00
tsconfig.json typescript rectification 2025-03-24 21:05:38 -07:00
tsconfig.node.json ✨ merge preview to main (#575) 2023-10-22 19:34:44 -07:00
vite.config.ts feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00

Continue React App

The Continue React app is a notebook-like interface to the Continue server. It allows the user to submit arbitrary text input, then communicates with the server to takes steps, which are displayed as a sequence of editable cells. The React app should sit beside an IDE, as in the VS Code extension.