continue-custom/docs
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
..
agents fix: update broken Mission Control workflows links (#10661) 2026-03-10 11:08:09 -07:00
autocomplete docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
chat docs: fix remaining 6 broken links with special char anchors 2026-02-17 17:47:58 -08:00
checks Add workflow section to running-locally docs (#11046) 2026-03-04 23:33:51 -08:00
cli docs: document all CLI slash commands in TUI mode (#11352) 2026-03-19 16:20:37 -07:00
customize feat: add useResponsesApi option to opt out of Responses API (#11809) 2026-03-25 16:09:46 -07:00
getting-started fix: update assistants -> configs in docs 2025-11-18 12:39:30 -08:00
guides fix: respect contextLength from YAML model config (#11807) 2026-03-25 12:26:52 -07:00
ide-extensions docs: fix remaining 6 broken links with special char anchors 2026-02-17 17:47:58 -08:00
images images 2026-02-17 17:19:21 -08:00
logo s/docs2/docs 2025-07-10 13:34:36 -07:00
mission-control fix: update broken Mission Control workflows links (#10661) 2026-03-10 11:08:09 -07:00
reference docs: fix remaining 6 broken links with special char anchors 2026-02-17 17:47:58 -08:00
snippets fix(gemini): update model catalog for retired/new Gemini models (#11793) 2026-03-24 20:22:47 -07:00
.prettierignore s/docs2/docs 2025-07-10 13:34:36 -07:00
c15t-cookie-banner.js fix: prettier 2025-07-30 07:56:52 -07:00
CONTRIBUTING.mdx Merge remote-tracking branch 'origin/main' into nate/simplify-docs 2026-01-30 18:29:04 -08:00
custom.css docs: restructure checks section and update docs content 2026-02-16 23:16:52 -08:00
docs.json feat: add Tensorix as an LLM provider (#11184) 2026-03-19 16:29:45 -07:00
faqs.mdx Remove Gemini 2.0 Flash from defaults and update Claude defaults to 4.6 (#11782) 2026-03-24 17:03:52 -07:00
favicon.png update favicon 2025-11-25 12:40:35 -08:00
home.mdx chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
index.mdx docs: simplify quickstart to continue.dev/check 2026-02-19 17:08:14 -08:00
overview.mdx fix: update broken Mission Control workflows links (#10661) 2026-03-10 11:08:09 -07:00
package-lock.json [Snyk] Security upgrade @c15t/react from 1.8.2 to 1.8.5 (#11388) 2026-03-13 12:15:46 -07:00
package.json [Snyk] Security upgrade @c15t/react from 1.8.2 to 1.8.5 (#11388) 2026-03-13 12:15:46 -07:00
README.md feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
reference.mdx fix: add keepAlive to YAML completion options schema (#11801) 2026-03-25 10:29:14 -07:00
reo-tracking.js Add Reo.dev tracking infrastructure for documentation (#8672) 2025-11-13 11:10:10 -08:00
troubleshooting.mdx docs: improve SSL certificate troubleshooting guidance (#11354) 2026-03-19 15:50:18 -07:00

Mintlify Starter Kit

Click on Use this template to copy the Mintlify starter kit. The starter kit contains examples including

  • Guide pages
  • Navigation
  • Customizations
  • API Reference pages
  • Use of popular components

Development

Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command

npm i -g mint

Run the following command at the root of your documentation (where docs.json is)

mint dev

Publishing Changes

Install our Github App to auto propagate changes from your repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.

Troubleshooting

  • If the dev environment isn't running - Run mint update to ensure you have the most recent version of the CLI.
  • Page loads as a 404 - Make sure you are running in a folder with docs.json