Third report of the same overflow class after fixing InputToolbar and
BlockSettingsTopToolbar -- this time PendingApplyStatesToolbar (the
filename + Accept/Reject row shown while a diff is pending). Rather
than keep fixing these one report at a time, audited every sibling in
LumpToolbar's mutually-exclusive render states (StreamingToolbar,
EditToolbar, EditOutcomeToolbar, IsApplyingToolbar,
PendingToolCallToolbar) -- all shared the identical missing-min-w-0
pattern on a justify-between row with one growable/truncating side and
one fixed-content side (buttons/shortcuts). Fixed all of them: min-w-0
on the truncating side (needed even with flex-1, since flex-basis:0
does not override the default min-width:auto), flex-shrink-0 +
whitespace-nowrap on the fixed side so it's what stays fully visible
if anything has to give.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
handleApplyStateUpdate.ts already had an auto-accept-diff mechanism for
when a tool's policy is "allowedWithoutPermission" -- but it read the
tool's static ui.toolSettings entry directly, which Full Access mode
never modifies (fullAccessMode overrides the EFFECTIVE policy only
inside evaluateToolPolicies.ts's own local computation, without writing
it back). So even with Full Access on and the edit tool call itself
already auto-approved, the resulting diff still sat waiting for a
manual Accept/Reject click -- the one prompt Full Access was supposed
to eliminate entirely.
Now also auto-accepts when fullAccessMode is on, mirroring the same
"disabled tools stay excluded" exception used everywhere else Full
Access overrides a policy.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Same root cause as the previous InputToolbar fix (missing min-w-0 on a
flex container chain), different row: BlockSettingsTopToolbar (the
Lump row showing the rules/tools/models icons plus the assistant/config
selector, e.g. "Main Config") had no min-w-0 on its outer flex-between
container or on the wrapper around AssistantAndOrgListbox, and that
component's own root div also lacked it. Confirmed still reproducing
after the first fix was installed and verified in the built bundle --
this was a second, separate overflow site, not a failure of the first
fix.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Confirmed this reproduces identically in stock upstream Continue from
the Marketplace (not introduced by this fork) -- flagging here as a
genuine bug this fork fixes on top of upstream, not a regression.
The toolbar's flex row (InputToolbar.tsx), the model-select button
(ModelSelect.tsx), and the shared ListboxButton base component
(ui/Listbox.tsx) all lacked min-w-0. CSS flexbox items default to
min-width: auto, which refuses to shrink a flex child below its
content's natural width -- so ModelSelect's line-clamp-1 truncation on
a long model name (e.g. "qwen3.8-27b (qore)") never actually engaged,
and the whole toolbar row grew wider than the panel instead, pushing
the "Active file" hint and Send button off the visible edge. Reproduces
at any panel width once the model name is long enough.
Added min-w-0 down the whole flex chain (outer toolbar row -> left
icon group -> ModelSelect's wrapper -> ListboxButton -> the label span)
and flex-shrink-0 on the right-side toolbar group (Active file hint +
Send button) so that group always stays fully visible and the model
name truncates first instead.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix(gui): remove awkward inner scroll on onboarding API-key card
In the empty chat state, `main` is a fixed-height (100vh) flex scroll
container. Its children (the StepsDiv banner area and the input/onboarding
section) were allowed to flex-shrink, and StepsDiv's always-on
`overflow-y-scroll` turned into a cramped nested scrollbox. This trapped
the onboarding API-key card in a small inner scroll area instead of
letting it lay out naturally.
Only enable StepsDiv's overflow scroll when there is chat history (when it
is `flex-1`), and mark both the empty-state StepsDiv and the input section
`shrink-0` so the onboarding card keeps its natural height and the panel
scrolls as one. Chat layout (history present) is unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(gui): remove empty onboarding route scroll trap
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Register mercury-2 (128k context, tool-calling) and mercury-edit-2 in
llm-info, add Inception Labs provider to the GUI Add Chat Model form,
and flag mercury-2 as tool-capable in PROVIDER_TOOL_SUPPORT.
- Change alert from warning (yellow) to info (blue) styling
- Move banner inside chat scroll container so it scrolls away
- Render banner in settings page content area (not above sidebar)
- Make banner dismissable on all pages
- Update text to "v2.0.0", buttons side-by-side with primary export button
- Add "Learn more" secondary button
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix LocalProfileLoader test: remove controlPlaneClient refs, update
default title to match "Main Config"
- Remove showStagingIndicator from Layout.tsx (variable was undefined)
- Remove usePlatform from MockIdeMessenger (removed from config types)
- Add GithubIcon component and DISCUSSIONS_LINK to StreamError.tsx
- Add overloaded retry constants to streamThunkWrapper.tsx
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: resolve critical and high security vulnerabilities across packages
Bump vulnerable dependencies and remove unused `request` package to
address ~351 of ~394 npm audit vulnerabilities reported by GitHub.
* fix: handle nullable textContent from @mozilla/readability v0.6.0
readability.textContent can be undefined in v0.6.0, add nullish
coalescing to satisfy ArticleComponent.body type constraint.
* fix: show actionable error when Ollama fails to parse tool calls
When Ollama models (e.g. gpt-oss:20b) produce malformed tool call
output, Ollama returns "error parsing tool call" which previously
surfaced as an opaque "Unknown error".
Add pattern matching in analyzeError() to detect this specific error
and show a helpful message explaining the issue is transient, that the
user can resubmit, and that enabling "Only use system message tools"
in Settings > Experimental avoids Ollama's native tool call parser.
Fixes#11783, #11063, #10954, #10897, #10711, #10221, #9433
* fix: refine Ollama tool call error copy and matching
Tighten string match to "error parsing ollama response: error: error
parsing tool call" to avoid false positives. Soften settings suggestion
to "Enabling ... may reduce these errors".
* fix: match on Ollama's error string directly
fix: hide thinking indicator when thinking content is empty
Check that resolved thinking content has non-whitespace characters
before rendering the ThinkingBlockPeek component, preventing empty
or whitespace-only thinking blocks from showing in the chat UI.
* 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
Adds a dismissable warning banner across the GUI (VS Code + JetBrains)
announcing that Continue is entering maintenance mode. Links to the
GitHub README and the Hub config export page. The banner auto-expires
after 2026-05-09 and can be dismissed on the home/chat page but always
shows on settings/config pages.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Resolve conflicts: main already removed most free-trial references
that this branch was also cleaning up. Keep staging indicator from
this branch. Accept useCredits.ts deletion from main.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: respect contextLength from YAML model config
Three fixes for contextLength not being respected:
1. Add contextLength to YAML model schema at the model level (not just
inside defaultCompletionOptions), matching JSON config behavior
2. Read contextLength from both model-level and defaultCompletionOptions,
with model-level taking precedence
3. Fix GUI selector fallback using DEFAULT_MAX_TOKENS (4096) instead of
DEFAULT_CONTEXT_LENGTH (32768)
Closes#4638Closes#4304
* fix: reduce complexity in modelConfigToBaseLLM
Replace find callbacks with includes() to offset complexity from
contextLength nullish coalescing.
* docs: document contextLength at model level in config.yaml reference
* docs: consistently show contextLength in defaultCompletionOptions for YAML
YAML examples use defaultCompletionOptions.contextLength, JSON examples
use model-level contextLength. Also fixes ollama guide using the wrong
key name (completionOptions -> defaultCompletionOptions).
* refactor: extract env options into helper to reduce complexity
Extract the repetitive env-to-options mapping from modelConfigToBaseLLM
into a separate applyEnvOptions function, bringing complexity well under
the limit of 36.
* fix: remove Llama 3.1 405B from Groq provider
The model `llama3.1-405b` is no longer available on Groq, causing 404
errors. Remove it from the Groq provider packages and provider options.
Closes#10832
* Remove llama3.1-405b from Groq model list in config_schema.json
---------
Co-authored-by: continue[bot] <230936708+continue[bot]@users.noreply.github.com>
* fix(gemini): update model catalog for retired/new Gemini models
Gemini 1.x models are fully retired (returning 404), gemini-3-pro-preview
was shut down March 9 2026, and new 3.1 series models were missing.
- Add gemini-3.1-pro-preview, gemini-3.1-flash-lite-preview, gemini-3.1-flash-image-preview
- Replace gemini-3-pro-preview with gemini-3.1-pro-preview everywhere
- Remove retired Gemini 1.x models (gemini-1.0-pro, gemini-1.5-pro, gemini-1.5-flash, gemini-1.5-flash-8b)
- Remove retired experimental 2.0 image gen models
- Fix default model from retired gemini-pro to gemini-2.5-flash
- Update docs, onboarding config, VSCode schema, GUI model picker, VertexAI provider
- Update isRecommendedAgentModel regex and tests
Fixes#10996, #10998
* fix: address review comments
- Add missing gemini-3.1-flash-image-preview to VS Code schema enum
- Tighten isRecommendedAgentModel regex to match 3-flash-preview (not bare 3-flash)
- Update case-insensitivity tests for new model names
* fix: fix misleading test description and inconsistent doc heading
- Rename test to "Gemini 3.1 Pro and 3 Flash Preview models" to match assertions
- Update chat.mdx heading from "Gemini 3 Pro" to "Gemini 3.1 Pro"
chore: remove Gemini 2.0 Flash from defaults/UI/docs and update Claude defaults to 4.6
Gemini 2.0 Flash is no longer supported for new Gemini users. Remove it
from the add model form, onboarding defaults, config schema, docs, and
CometAPI supported models list. Replace with Gemini 2.5 Flash where
appropriate. Gemini 2.0 Flash remains in llm-info for existing users.
Update Claude model defaults to 4.6 series (Sonnet 4.6 and Opus 4.6) in
onboarding config, workspace block templates, and documentation examples.
* feat: add MiniMax as a new LLM provider
Add MiniMax (https://platform.minimax.io) as a new LLM provider with
OpenAI-compatible API support.
Changes:
- Add MiniMax LLM provider class extending OpenAI with temperature
clamping (must be in (0, 1]) and response_format removal
- Register provider in LLMClasses, openai-adapters, and config-types
- Add model info for MiniMax-M2.5 and MiniMax-M2.5-highspeed
(204K context, 192K max output)
- Add GUI model selection entries and provider configuration
- Add provider documentation page
* fix: use dedicated MiniMaxApi adapter instead of generic OpenAIApi
The minimax provider was wired to the generic OpenAIApi via
openAICompatible(), which skips MiniMax-specific request fixes.
This creates a dedicated MiniMaxApi adapter class that overrides
modifyChatBody to apply temperature clamping (MiniMax requires
temperature in (0.0, 1.0]) and response_format removal, matching
the adaptations already present in core/llm/llms/MiniMax.ts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: upgrade MiniMax default model to M2.7
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model list
- Set MiniMax-M2.7 as default model
- Keep all previous models (M2.5, M2.5-highspeed) as alternatives
- Update docs and GUI model selection
* fix: add minimax to PROVIDER_HANDLES_TEMPLATING and PARALLEL_PROVIDERS
MiniMax uses an OpenAI-compatible chat completions API, so it handles
templating natively. MiniMax also supports parallel tool calls.
Not added to PROVIDER_SUPPORTS_IMAGES since MiniMax M2.7 is text-only.
* style: fix prettier formatting in MiniMax provider files
---------
Co-authored-by: PR Bot <pr-bot@minimaxi.com>
Co-authored-by: octo-patch <octo-patch@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* fix: resolve "No chat model selected" error and GUI/core model mismatch
Three fixes for the model selection bugs reported in #11656 and 12+ related issues:
1. Fix loadConfig() init ordering: await isInitialized before checking
currentProfile, consistent with getSerializedConfig(). Prevents
returning config: undefined during initialization race.
2. Avoid full config reload on model selection: The config/updateSelectedModel
handler now updates the model in the cached config in-place instead of
doing a full reloadConfig(). This eliminates the window where
selectedModelByRole.chat is null during reload, and prevents the
configUpdate from core overwriting the GUI's optimistic selection.
3. Guard against undefined config in GUI: handleConfigUpdate now also
checks !configResult.config alongside configLoadInterrupted, preventing
EMPTY_CONFIG (with chat: null) from being applied.
* fix: resolve "No chat model selected" error on startup
Two fixes for the "No chat model selected" error reported in #11656 and
12+ related issues across all providers:
1. Fix loadConfig() init ordering (ConfigHandler.ts): Move
`await this.isInitialized` before the `!this.currentProfile` check,
matching the pattern already used in getSerializedConfig(). Without
this, loadConfig() called during initialization returns
config: undefined because currentProfile hasn't been set yet.
2. Guard against undefined config in GUI (ParallelListeners.tsx):
handleConfigUpdate now also checks `!configResult.config` alongside
configLoadInterrupted, preventing EMPTY_CONFIG (with
selectedModelByRole.chat: null) from being applied.
* fix: provide valid mock config to fix GUI test failures
The added `!configResult.config` guard in ParallelListeners caused tests
to bail early since MockIdeMessenger returned `config: undefined`.
* 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>
Node.js v20 entered Maintenance LTS six months ago. Update the version
from v20.19.0 (released over a year ago) to v20.20.1, the latest LTS
release this month.
This ensures the project leverages recent Node.js improvements,
including security updates, and stays on a supported LTS track.
Remove all ControlPlaneClient infrastructure, WorkOS auth, managed proxy,
platform profile loading, org policy enforcement, and credits UI.
Config is now fully local — only file-based config.yaml and .env secrets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Delete freeTrialTransition.ts, FreeTrialStatus.tsx, FreeTrialTransitionUI.tsx,
StarterCreditsButton.tsx, StarterCreditsPopover.tsx, and related tests/mocks.
Strengthen free-trial provider filtering to hard-drop (no more warnings).
Remove checkForOutOfStarterCredits from streamChat. Simplify useCredits
hook to a one-time fetch (no polling). Remove freeTrialExceeded listener
from Layout. Clean up navigation context and toolbar references.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add Tensorix as an LLM provider
Adds Tensorix (https://tensorix.ai) as a new OpenAI-compatible
provider, giving users access to DeepSeek, Llama 4, Qwen, GLM,
and other models through a single API key.
Changes:
- New LLM class (core/llm/llms/Tensorix.ts)
- Registered in LLM index and config schema
- Added to VS Code extension config schema
- Added to GUI provider selection with AUTODETECT
* Fix missing commas in config_schema.json for tensorix entries
Co-authored-by: openhands <openhands@all-hands.dev>
* feat: address reviewer feedback for Tensorix provider
- Add tensorix to openai-adapters (types.ts + index.ts)
- Add tensorix to PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES,
and PARALLEL_PROVIDERS in autodetect.ts
- Add docs page for Tensorix under more providers
- Add tensorix to docs.json navigation
Co-authored-by: openhands <openhands@all-hands.dev>
---------
Co-authored-by: openhands <openhands@all-hands.dev>
The terminal command display hardcoded a `$ ` before every command.
This is a Unix shell convention with no meaning on Windows (PowerShell,
cmd) and doesn't reflect the user's actual shell. Since the command is
already visually distinct inside a labeled Terminal block, the prefix
adds no information and is misleading cross-platform.
Closes#11428
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>