Commit graph

16390 commits

Author SHA1 Message Date
Jacob Kim
fc08da2c29 refactor: pass window range as well 2025-08-08 12:29:37 -07:00
Jacob Kim
7106c9dd15 feat: use 5 lines as context 2025-08-08 12:15:59 -07:00
Jacob Kim
345e90eb28 fix: use proper import aliases 2025-08-08 12:15:45 -07:00
Jacob Kim
4a6fe51fe2 feat: enrich model request with system and user prompt prefix 2025-08-08 12:10:44 -07:00
Jacob Kim
65cd7d47aa fix: recover from bad merge 2025-08-08 11:17:05 -07:00
Jacob Kim
3c0a9031e6 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3231 2025-08-08 11:16:06 -07:00
Jacob Kim
59a37c9540 fix: handle cases where filename includes spaces 2025-08-08 11:10:39 -07:00
Jacob Kim
5918041cc0 test: add vitest for diffFormatting 2025-08-08 11:10:22 -07:00
Jacob Kim
109ef6e70d feat: add helper to get metadata from unified diff 2025-08-08 11:05:44 -07:00
Jacob Kim
5e38626a34 test: add vitest for templating 2025-08-08 11:05:26 -07:00
Jacob Kim
9652276380 feat: add helper for diffFormatting 2025-08-08 11:05:13 -07:00
Jacob Kim
faa6c0f6c5 test: add vitest for helper functions 2025-08-08 11:04:56 -07:00
Dallin Romney
d2c9c295ea
Merge pull request #7063 from vldF/increase-debouncer-interval
fix: increase `debouncer`'s `interval` value to fix #6199
2025-08-08 11:04:37 -07:00
Dallin Romney
c072125937
Merge pull request #7060 from uinstinct/mention-query-input
style: prevent mention query input wrapping text
2025-08-08 11:03:14 -07:00
Dallin Romney
8e0169ac1b
Merge pull request #6895 from panyamkeerthana/panyamkeerthana/current_file_context
fix: add autocompleteOptions in the .yaml config
2025-08-08 10:36:03 -07:00
Dallin Romney
712b8525c1
chore: jetbrains 1.0.35 (#7057) 2025-08-08 10:34:04 -07:00
Jacob Kim
534e453184 feat: add a helper function to parse contextSnippets 2025-08-08 10:31:28 -07:00
Jacob Kim
b4c7df46cd feat: replace field 2025-08-08 10:30:30 -07:00
Jacob Kim
db87e89126 feat: use contextSnippets instead of recentlyViewedCodeSnippets 2025-08-08 10:30:01 -07:00
Jacob Kim
92f60e2d15 feat: add to autocomplete context on small edit 2025-08-08 10:29:05 -07:00
Jacob Kim
1c41a7fd70 feat: keep track of autocomplete context 2025-08-08 10:28:18 -07:00
Dallin Romney
8237a2afad
Merge pull request #7056 from continuedev/dallin/indexing-copy-fix
fix: indexing toggle copy
2025-08-08 10:21:18 -07:00
Keerthana Panyam
bbc200f283
Merge branch 'main' into panyamkeerthana/current_file_context 2025-08-08 11:51:33 -04:00
Keerthana Panyam
8fe5077e60 move context restriction properties to model level autocompleteOptions
- added context restriction properties to model autocompleteOptions schema
- discarded changes to add global tabAutocompleteOptions to config schema
- added experimental parameters to both config-types.
- added YAML alternative note to json reference.
- updated YAML configuration example with per-model options.
- added reference documentation with parameters for autocomplete options.
2025-08-08 11:50:14 -04:00
vldf
4e5ee6fbb6 fix: increase debouncer's interval value to fix #6199 2025-08-08 11:40:49 +03:00
uinstinct
8fd7bd349c style: prevent mention query input wrapping text 2025-08-08 12:24:46 +05:30
Dallin Romney
867b06012e fix: indexing toggle copy
Co-authored-by: Josh Holmer <jholmer.in@gmail.com>
2025-08-07 16:00:08 -07:00
Jacob Kim
55f081c206 feat: edit template 2025-08-07 15:41:17 -07:00
Jacob Kim
a736bcce0e feat: add more fields to template 2025-08-07 15:40:48 -07:00
Jacob Kim
eae28a87c1 feat: add more to context 2025-08-07 15:40:34 -07:00
Jacob Kim
326785f022 feat: add tokens 2025-08-07 15:40:24 -07:00
Jacob Kim
9e94a3806c feat: add utils for model-specific logic 2025-08-07 15:40:14 -07:00
Dallin Romney
10401503b6
Merge pull request #7055 from continuedev/dallin/vscode-1-1-75-bump
chore: vscode 1.1.75
2025-08-07 14:04:05 -07:00
Dallin Romney
c69ed88bf0 chore: vscode 1.1.75 2025-08-07 13:52:41 -07:00
Dallin Romney
b6f3ede6e1
Merge pull request #6781 from Jazzcort/fix-block-duplication
Fix: Remove duplicate blocks and provide config warnings
2025-08-07 13:51:11 -07:00
Dallin Romney
826c08ecb6
Merge pull request #7042 from uinstinct/tool-call-spacing
improve: tool call spacing and margins
2025-08-07 13:47:13 -07:00
Dallin Romney
01812e598f
feat: gpt-5 support (#7054)
* fix: gpt-5 support

* fix: gpt 5 context length

* fix: broken test file
2025-08-07 13:36:26 -07:00
Dallin Romney
ab4bb9c157
fix: jetbrains release script (#7050)
* fix: jetbrains release script - build only option

* fix: channel name
2025-08-07 11:56:31 -07:00
Jazzcort
bc3375e818 Fix: Remove duplicate blocks and provide config warnings
This patch is to address the following cases that duplicate blocks appear in
the UI and confuse users:

  1. When users refer to a local block with "- uses", if the block is
     already in the default directories (e.g. ~/.continue/models or
     <workspacea>/.continue/models) and users don't override its name
     attribute, the duplicate block will appear in the UI.

  2. When users have duplicate block names among each block type in their
     assistant config.

  3. When the injected blocks have duplicate names with the assistant config
     for the corresponding block type.

The duplicate blocks in the UI is confusing, especially in the model
selection.

This patch add a blockDuplicationDetector to detect duplication. When a
duplication is detected, we remove the duplicate item and push a config
error to the result to warn the users that having duplicate names is not
the best practice to set up their config.

The detecting order: assistant config -> injected blocks

To detect duplication, all block types use "name" as the identifier except
for rules and context. For rules, if it's an rule object, we use the "name"
attribute. Otherwise, we use its string content as the identifier. For
context, the "provider" attribute is used as the identifier.

The detection only happens under assistant level, which means you can have
assistants with duplicate names.
2025-08-07 14:53:54 -04:00
Dallin Romney
50e984622b
Merge pull request #7043 from uinstinct/conversation-summary
improve: open conversation summary be default
2025-08-07 10:52:52 -07:00
Dallin Romney
75e7da3ac6
Merge pull request #7041 from vldF/vldf/fix-multiple-call-words
fix: remove redundant `call` word from the default agent system prompt
2025-08-07 10:50:35 -07:00
Dallin Romney
02324bbaa1
Merge pull request #7011 from vldF/vldf/6955-edit-prompt-exception
feat: disable edit prompt action for the init prompt
2025-08-07 10:09:43 -07:00
uinstinct
e394a9aa95 improve: open conversation summary be default 2025-08-07 19:42:51 +05:30
uinstinct
a266903de1 improve: tool call spacing and margins 2025-08-07 18:55:19 +05:30
vldf
aed9153e6a Fix: remove redundant call word from the default agent system prompt 2025-08-07 13:37:04 +03:00
vldf
d111bc5f3a Fix: add missing space 2025-08-07 11:26:47 +03:00
Dallin Romney
b28d0f2008
Merge pull request #7037 from continuedev/dallin/bump-vscode-1.1.74
chore: vscode 1.1.74
2025-08-06 22:47:27 -07:00
Dallin Romney
4fd88d3b84 chore: vscode 1.1.74 2025-08-06 21:19:15 -07:00
Dallin Romney
2513ae78e6
improv: tweak file too big message (#7036) 2025-08-06 21:08:53 -07:00
Dallin Romney
162d7ddf20
Merge pull request #7022 from xiaohuanxiong3/fix-tool-execute-abnormal-when-there-is-no-tool-policy-data-in-the-local-cache
fix: fix tool execute abnormal when there is no tool policy data in the local cache
2025-08-06 21:01:39 -07:00