Commit graph

268 commits

Author SHA1 Message Date
shanevcantwell
df8ef7ad56
fix: harden system message tools and wire toolOverrides to system message path (#10485)
fix: harden system message tools instructions and wire toolOverrides to system message path

The system message tools path (used when models don't support native tool
calling) had two issues:

1. Weak format instructions - the prefix/suffix used vague prose that local
   models often ignored, reverting to XML or JSON tool call formats from
   their training priors. Replaced with explicit numbered rules that
   prohibit alternative formats.

2. toolOverrides silently ignored - applyToolOverrides() existed and ran on
   the native tools path (in BaseLLM.streamChat), but was never called on
   the system message path. Config YAML toolOverrides for disabled and
   description had no effect when tools were injected via system message.

Fixed by:
- Strengthening systemMessagePrefix/Suffix in toolCodeblocks framework
- Adding toolOverrides to ModelDescription interface and serialization
- Calling applyToolOverrides() in streamNormalInput before both paths

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 12:52:05 -07:00
uinstinct
c366fa89ab fix lint 2026-01-07 20:24:42 +05:30
Dallin Romney
b1bb2b1914
Merge branch 'main' into remove_runtime_esbuild 2025-10-09 13:53:01 -07:00
joffeoja
8b1d347336 fix(core): only show esbuild install hint when config.ts is customized 2025-10-01 05:54:30 +02: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
joffeoja
c2d4ab1330 fix(core): require user-installed esbuild for config.ts; show install hint if missing 2025-09-29 22:27:51 +02:00
Dallin Romney
b5300b592f fix: request options for json mcps 2025-09-24 18:40:18 -07:00
Dallin Romney
7b5ae7a50f fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
Dallin Romney
8b9b72de7b feat: yaml <-> json conversion functions 2025-09-24 11:26:31 -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
Dallin Romney
3bf58bd305 merge: main 2025-08-25 16:15:37 -07:00
Dallin Romney
28c6622b96
Merge pull request #7393 from continuedev/dallin/autodetect-naming
fix: show autodetected in model titles
2025-08-25 15:02:16 -07:00
Dallin Romney
bf8b4bd8c1 fix: pass autodetected around as boolean 2025-08-25 14:48:42 -07:00
Dallin Romney
75186ddadb fix: show autodetected in model titles 2025-08-25 10:58:37 -07:00
Dallin Romney
be0c0d585b merge: main 2025-08-22 12:36:32 -07:00
Dallin Romney
8d6eed6b86
Merge branch 'main' into dallin/indexing-and-mcp-org-settings-CON-3282 2025-08-21 17:22:26 -07:00
Dallin Romney
d6ed405d0c feat: multi edit and single search and replace tools 2025-08-20 16:09:31 -07:00
Dallin Romney
50b0dec9c4 feat: org policies for indexing and mcp 2025-08-19 01:20:11 -07:00
Dallin Romney
625ec8c186 fix: exclude problems and terminal on jetbrains 2025-08-18 18:22:13 -07:00
Dallin Romney
76710d19dc fix: binary typescript issue 2025-08-18 16:20:23 -07:00
Dallin Romney
37c1b2001f chore: hasDocs bool 2025-08-18 15:41:08 -07:00
Dallin Romney
4717677959 feat: update default-included context providers, move to util 2025-08-18 12:52:02 -07:00
Dallin Romney
929e5deb40 merge: main 2025-07-29 01:56:42 +07:00
Dallin Romney
646913b046 fix: move rc loading to separate file, fix core imports issue 2025-07-21 17:31:35 +02:00
Fred Bricon
89a7d9a0c2 fix: open the proper config file
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-07-21 10:30:04 +02:00
Dallin Romney
eba3a3e65a remove duplicate getWorkspaceConfigs logic and only load for json 2025-07-17 16:57:38 +02:00
Nate Sesti
eca51fffec
Merge pull request #6499 from continuedev/dallin/bedrock-openai-adapter
feat: Bedrock OpenAI adapter
2025-07-07 22:46:04 -07:00
Dallin Romney
e389050dda proxy missing env secrets 2025-07-07 19:26:55 -07:00
Nate Sesti
fbcc5a46b9
Merge pull request #6445 from continuedev/dallin/plan-mode
Plan Mode
2025-07-07 13:05:05 -07:00
Dallin Romney
be561ff54c add plan as actual mode in redux, add basePlanSystemMessage 2025-07-07 10:35:39 -07:00
Dallin Romney
c5028e1d1d add to JSON config loading and functionize tool arrays 2025-07-02 14:13:40 -07:00
Ting-Wai To
968bc517cc Remove @codebase from default context providers 2025-06-30 11:13:02 -07:00
Dallin Romney
acde0b18fb unify prompt file to slash command conversion 2025-06-23 18:29:41 -07:00
Dallin Romney
5be8bf765c render prompt slash commands on client 2025-06-23 17:29:10 -07:00
Dallin Romney
fb5beb042e WIP: render slash commands 2025-06-23 09:26:10 -07:00
Dallin Romney
ff4dcdce73 add source to slash commands, rearrange and mark built in legacy as legacy 2025-06-20 23:39:39 -07:00
Nate
8a822edbfd small fixes for free trial onboarding 2025-06-08 18:33:09 -07:00
Nate Sesti
bb760f76c2
Merge pull request #5855 from continuedev/dallin/remove-free-trial
Remove free trial provider
2025-05-31 23:31:07 -07:00
Patrick Erichsen
4b3b50b483 Merge branch 'main' into pe/agent-requested-rule 2025-05-27 14:47:58 -07:00
Patrick Erichsen
4ddd275599 fix: spread tool degs 2025-05-27 13:12:01 -07:00
Patrick Erichsen
af30fbe360 feat: requestRule tool 2025-05-27 10:19:31 -07:00
Dallin Romney
bbb81ff032 remove free trial provider 2025-05-26 17:42:05 -07:00
Nate
ade15bc7d6 Merge branch 'main' into nate/dev-data-updates 2025-05-25 18:53:32 -07:00
Nate
766e34c147 add underlyingProviderName to JSONModelDescription and ModelDescription 2025-05-20 15:18:18 -07:00
Piotr Czekaj
4c957c0039 Fix config merging
if using remote config and local json config then without this fix only http providers from remote config are used due to the fact that providers have the same name "http".
2025-05-20 10:19:55 +02:00
uinstinct
ce213a9c1b Merge branch 'main' into agent-system-message 2025-05-01 18:02:33 +05:30
uinstinct
5e976f7d12 Revert "update for json config"
This reverts commit d749cce4a5.
2025-04-30 15:43:27 +05:30
Nate Sesti
dafb8d12e8
Merge pull request #4813 from splatch/apply-request-options-for-completion-models
Carry over requestOptions from config to completion modles
2025-04-29 12:59:21 -07:00
uinstinct
d749cce4a5 update for json config 2025-04-29 11:23:36 +05:30
Nate
5938fa7180 hotfix for free-trial reranker bug 2025-04-28 11:16:54 -07:00