Commit graph

541 commits

Author SHA1 Message Date
Dallin Romney
9396142fb0
fix: allow correcting API key after entering an invalid one for xAI/Gemini (#11854)
* fix: update existing model API key instead of creating duplicate when re-adding

When a user enters an invalid API key for a provider (e.g. xAI or Gemini)
and later tries to add the same model again with a correct key, the
addModel function previously either skipped (exact match) or created a
duplicate with a numbered suffix. Now it detects models with the same
provider and model name and updates the existing entry in-place, allowing
users to correct their API key by re-adding the model.

Closes #9995

* fix: update existing provider models in setupProviderConfig instead of appending duplicates

When re-entering an API key through the onboarding flow, setupProviderConfig
previously appended new model entries without removing the old ones with
the invalid key. Now it filters out existing models with the same hub slug
before adding the new ones, ensuring the user ends up with a single set
of correctly-configured models.

* fix: narrow addModel update to only change apiKey on existing models

Avoid overwriting user-customized fields (apiBase, completionOptions,
title, etc.) when updating an existing model. Only the apiKey is changed.

* fix: merge API key into existing models instead of replacing or duplicating

Address review feedback: update only the API key on existing model entries
to preserve user-customized fields (roles, options, etc.).

- setupProviderConfig: merge `with` into existing hub-slug models, only
  append entries for slugs not yet in config
- addModel: narrow update to only set apiKey on matching provider+model

* fix: resolve TS2339 error for apiKey on YAML config model union type

The YAML config model type is a union that includes uses-based models
without an apiKey property. Use 'provider' in m guard and cast to any
for the assignment.

* style: fix prettier formatting

* fix: show toast and open config when model already exists, merge API keys in onboarding

When a user tries to add a model that already exists (e.g. after entering
an invalid API key), show a warning toast and open the config file so they
can update the key directly. Also fix setupProviderConfig to merge API
keys into existing models instead of creating duplicates.

Closes #9995

* refactor: remove all :any type annotations from changed code

Use 'uses' in m type guards to narrow the union type instead of
casting to any.

* fix: use modelsByRole instead of non-existent models property on ContinueConfig
2026-03-25 21:32:35 -07:00
MumuTW
35ae9422a4
fix: refresh all configs when creating a new assistant file (#11103)
fix(core): refresh all configs after new assistant file creation
2026-03-09 23:42:29 -07:00
uinstinct
904357d06c verify that deleted filepath is a rules file 2026-01-19 19:48:07 +05:30
uinstinct
970552b44c provision to delete rule file 2026-01-16 15:51:42 +05:30
uinstinct
bf6ee2f71d fix: show new rule once created 2026-01-13 00:06:02 +05:30
uinstinct
0e5fce911f feat: allow renaming rule before creation 2025-11-19 16:34:09 +05:30
Dallin Romney
d227a571bb fix: instant apply for search and replace - vs code and jetbrains 2025-10-27 18:43:09 -07:00
Dallin Romney
1d15c7c3df
Merge pull request #8298 from continuedev/pe/read-file-errs
feat: allow file reads outside IDE workspace (w/ permission)
2025-10-20 10:50:38 -07:00
Patrick Erichsen
211ea1f5e9 add processedArgs param 2025-10-17 15:57:03 -07:00
Tomasz Stefaniak
7b9cb65374
Merge pull request #8191 from continuedev/tomasz/con-4203
Background / Async / Remote mode: Kickoff in /agents when you are in the extension
2025-10-16 16:22:09 -07:00
Patrick Erichsen
bf9a19ada5 fix: pass preprocessed args to core 2025-10-16 16:09:09 -07:00
Patrick Erichsen
4903f3ab94 add tool call policy evaluation 2025-10-16 15:56:31 -07:00
Nate Sesti
bcaf5cfeff
Rename "agent" terminology to "config" throughout the codebase (#8229)
* Rename "agent" terminology to "config" throughout the codebase

* chore: bump
2025-10-13 22:25:42 -07:00
Tomasz Stefaniak
ae25084c3c fix: urls 2025-10-13 15:47:50 -07:00
Nate Sesti
d192e61a55
feat: rehaul onboarding for updated billing (#7965)
* clean: remove dead code related to free trial

* out of credits dialog

* update models addon onboarding tab

* feat: rehaul onboarding for credits-based billing

* Update gui/src/components/OnboardingCard/components/OnboardingModelsAddOnTab.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update gui/src/components/OnboardingCard/components/OnboardingModelsAddOnTab.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: credits bar direction

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-12 20:50:16 -07:00
Dallin Romney
7036ece762 fix: tool outcome errors for preprocessing failures 2025-10-02 10:18:01 -07:00
Nate Sesti
89826f0fea
fix: filter out markdown delimiters from next edit responses (#8056)
* fix: filter out markdown delimiters from next edit responses

* fix: silence noisy console logs (debug now) and capture accept/reject feedback

* fix: console.log -> debug

* fix: console.log -> debug

* fix feedback

* fix: respect Telemetry

* requestId

* fix: lint

* bump
2025-10-01 22:52:18 -07:00
Dallin Romney
d1528356d7 fix: merge conflicts 2025-10-01 11:34:09 -07:00
Keerthana Panyam
b461fdc3cd
feat: added UI for global rule creation (#7467)
feat: add rule scope dropdown for global rule creation

- added global mode toggle
- implemented conditional styling (white when enabled, gray when disabled)
feat: improve global rules UI and fix debug mode issues

- added dropdown button component to switch between global and workspace rule creation.
- fixed global rules creation to use nested rules/ subdir in debug mode
- prevent default glob patterns for global rules by returning undefined globs
- generate unique rule names for global rules
- added watcher for rules in global directory
2025-10-01 11:03:10 -07:00
Dallin Romney
a9f9ee2f3f
Merge pull request #7692 from mq200/fix-added-folders-not-triggering-reindex
refresh workspace dirs when folders are added
2025-10-01 10:55:03 -07:00
Dallin Romney
caaff16fbd Merge branch 'main' of https://github.com/continuedev/continue into dallin/con-4022-hide-empty-prompts-resources 2025-10-01 09:39:23 -07:00
Dallin Romney
fac7f5c449
feat: tool call args preprocessing (#7992)
* feat: preprocess tool call args

* fix: broken multi edit impl

* fix: preprocess test failures

* fix: preprocessing tests

* fix: tool calls test progress

* fix: tests using mock store

* fix: thunk tests working

* fix: mock ide messenger tests
2025-09-30 18:49:29 -07:00
Dallin Romney
47f0fb2e4a fix: disable MCPs, init prompt tweaks 2025-09-29 17:59:46 -07:00
Dallin Romney
a7e392bdde feat: better settings page and open settings fixes 2025-09-29 15:59:46 -07:00
Dallin Romney
e73ee07c42 Merge branch 'main' of https://github.com/continuedev/continue into mq200/fix-added-folders-not-triggering-reindex 2025-09-26 19:17:54 -07:00
Dallin Romney
cc00ceadce fix: hanging promises 2025-09-25 16:38:00 -07:00
Dallin Romney
92c866f647 fix: file create/delete config loading triggers 2025-09-24 19:16:37 -07:00
Dallin Romney
6c211718ea merge main 2025-09-24 15:36:59 -07:00
Dallin Romney
7b5ae7a50f fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
mq200
57b528c445
Merge branch 'main' into fix-added-folders-not-triggering-reindex 2025-09-24 11:49:47 -07:00
Aditya Mitra
0d3b7d60a3
feat: better mcp connection status (#7830)
* add tooltips for showing mcp connection status

* add type

* explicit message to clarify no mcps are available in chat mode

* ability to disconnect mcp server

* move buttons inside a kebab menu

* use a listbox instead

* remove server and mcp suffixes
change reconnect to reload

* add anchor
2025-09-24 09:01:14 -07:00
Nate Sesti
1f6276d418
feat: support for AGENTS.md (#7717)
* feat: support for AGENTS.md

* chore: rules source display name cleanup

* refactor: use constant

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-09-22 15:58:45 -07:00
Dallin Romney
381ad937e8
Merge branch 'main' into save-chat 2025-09-22 13:45:39 -07:00
Nate Sesti
b12499cb0e
feat: show remote sessions in cn ls (#7694)
* feat: /title slash command

* fix: /title slash command should be able to be submitted with text

* test: add tests for last commit's changes

* fix: EOF in action.yml

* feat: list remote sessions in cn ls and /resume

* feat: load more sessions and make them scrollable

* chore: format

* improv: debug script builds automatically for cli

* feat: load remote session

* fix: wrap entrypoint in function so it doesn't run at import-time

* feat: /diff and /apply slash commands for cn remote

* feat: full screen diff viewer

* feat: status message for /apply slash command

* Update extensions/cli/src/ui/UserInput.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: remove console.logs

* Potential fix for code scanning alert no. 60: Uncontrolled command line

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 61: Uncontrolled command line

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* fix: build.js

* feat: list remote sessions in history of extensions

* feat: open remote agents in browser

* chore: fix tests and lint

* fix: import Text

* fix: small bug

* fix: address feedback

* fix: adjust extension gui for compatibility with cli session history

* feat: load session history from remote

* feat: open remote session in browser

* fix: tests, linting, formatting

* fix: don't use any

* address nitpicks

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-19 22:44:26 -07:00
Dallin Romney
bdb5f24786
Merge pull request #7846 from continuedev/pe/indexing-issue
fix: race condition on disabled indexing
2025-09-19 18:50:24 -07:00
Nate Sesti
d78fc99087
feat: add Mercury Apply endpoint support to Inception LLM (#7827)
* feat: add Mercury Apply endpoint support to Inception LLM

* refactor: begin to clean up the apply / streamDiff code

* fix: undo commenting out of instant apply

* fix: use underlyingProviderName
2025-09-18 23:44:25 -07:00
Patrick Erichsen
1f7a93e2af fix: race condition on disabled indexing 2025-09-18 21:04:09 -07:00
Dallin Romney
b842a21708
feat: global req (#7414)
* feat: yaml global requestOptions schema

* feat: merge request options

* fix: config yaml request options cleanup

* fix: mcp request options logic and tests

* feat: inject request options from unroll options

* fix: tests and new tests for merge

* feat: inject request options

* fix: prettier

* chore: package-lock

* chore: package lock

* fix: package lock

* fix: package lock
2025-09-17 10:57:40 -07:00
Tomasz Iniewicz
ca2a5d7f29
Lemonade Integration (#7749) 2025-09-17 10:15:33 -07:00
mq200
bf30171d6f set workspace dirs within the VS Code IDE; add TODO for jetbrains workspace dirs changes listener 2025-09-11 16:24:17 -07:00
Dallin Romney
5dc7a050db
Merge pull request #7368 from chezsmithy/feat-stop-terminal
feat: ✨ Add ability to stop foreground terminal commands
2025-09-10 18:39:24 -07:00
mq200
8247bb698c refresh workspace dirs when folders are added 2025-09-10 14:41:40 -07:00
chezsmithy
0660687653 fix: 🐛 Resolve comments from review 2025-09-09 23:38:44 -07:00
chezsmithy
acbba9b7d0 fix: 🐛 Fixes based on reviewer comments 2025-09-09 10:14:09 -07:00
chezsmithy
58cb7815ca feat: Add ability to stop foreground terminal commands 2025-09-09 10:12:59 -07:00
uinstinct
c0146dac6d Merge branch 'main' into dependent-context-indexing 2025-09-09 17:38:40 +05:30
Dallin Romney
e1d349cad7
Merge pull request #7409 from Jazzcort/fix-ideSettings-updating
Fix: Updated ideSettings didn't get passed properly
2025-09-08 21:13:11 -07:00
uinstinct
4129c94cd0 rename to wasAnyOneIndexAdded 2025-09-09 01:43:45 +05:30
uinstinct
b1b31717aa Merge branch 'main' into dependent-context-indexing 2025-09-09 01:42:57 +05:30
uinstinct
7773a65be3 Merge branch 'main' into dependent-context-indexing 2025-09-04 20:29:08 +05:30