continue-custom/gui
Dallin Romney 93c437cb0b
Improve error handling UX and move stream retry to BaseLLM (#11773)
* Improve error handling UX and move stream retry to BaseLLM

- Remove issue reporting buttons (GitHub/Discussions) from stream error dialog
- Add error detection for invalid API keys, OpenAI org verification,
  insufficient balance (402), and failed secret templating
- Update out-of-credits copy to match current messaging
- Add sk- prefix validation for OpenAI/Anthropic keys in add model form
- Update OpenRouter API key URL to workspaces/default/keys
- Move overloaded/malformed JSON retry from GUI streamThunkWrapper to
  BaseLLM _retryableStream to avoid glitchy UI from GUI-level retries
- Add overloaded/malformed JSON detection to core retry infrastructure

* fix: simplify retry architecture and make sk- validation a warning

- Remove _retryableStream from BaseLLM; overloaded/malformed JSON retry
  belongs in withExponentialBackoff at the HTTP fetch level
- Revert defaultShouldRetry/calculateDelay exports (no longer needed externally)
- Keep OpenRouter API key URL unchanged
- Make sk- prefix validation a warning instead of blocking error

* Fix stale comment referencing removed retry decorator

* Improve 402 Insufficient Balance error message clarity

* fix: improve copy - rename "View key" to "Check API key", use warning styles, simplify secret error message

* fix: use ternary for className to avoid space stripping by prettier

* style: fix prettier formatting in OutOfCreditsDialog

---------

Co-authored-by: continue[bot] <230936708+continue[bot]@users.noreply.github.com>
2026-03-24 12:40:19 -07:00
..
public feat: model updates and + z.ai (#10638) 2026-02-20 00:35:44 -08:00
src Improve error handling UX and move stream retry to BaseLLM (#11773) 2026-03-24 12:40:19 -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.