Dallin Romney
41b3b65a5c
fix: fix listener leaks and redundant file read in autocomplete ( #11863 )
...
- statusBar.ts: onDidChangeConfiguration was registered on every
setupStatusBar() call, accumulating unbounded listeners on each
config change or autocomplete toggle
- NextEditWindowManager: 4 event listeners in setupListeners() were
not added to this.disposables, surviving dispose() and accumulating
across Next Edit toggle cycles
- constructPrefixSuffix: accept pre-loaded file contents instead of
calling ide.readFile(), eliminating a redundant file read per
completion (the caller already has the contents loaded)
2026-03-25 21:04:20 -07:00
Rezky Hamid
2874981435
feat(autocomplete): Add Qwen multi-file FIM template for repository-level autocompletion ( #10612 )
...
- Add qwenMultifileFimTemplate supporting repository-level context
- Uses <|repo_name|>, <|file_sep|> tokens for multi-file context
- Falls back to basic FIM when no snippets provided
- Resolves issue #3589
2026-03-24 13:50:22 -07:00
Aditya Mitra
f1d646833f
fix: remove prepended fim_prefix tag in mercury coder ( #8624 )
2025-11-07 18:00:16 -08:00
Gabe Goodhart
d1ba7c9bba
feat: Support Granite 4 FIM and tool calling correctly ( #8531 )
...
* feat: Use the correct FIM template for Granite 4 models
Branch: GraniteFourTemplates
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
* feat: Add granite4 name variants to the list of models that natively support tools
Branch: GraniteFourTemplates
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
---------
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
2025-10-30 17:25:24 -07:00
lwang2070
5c9362b732
Add second check for prompt length before autocomplete ( #6451 )
...
* Add second check for prompt length before autocomplete
* Add new renderPromptWithLimit to avoid conflicting with other modules
* Fix format issue
* Refactor to remove repetitive logic
* Add tests
* Fix type error
---------
Co-authored-by: Jacob Kim <jacob@continue.dev>
2025-07-29 15:32:54 -07:00
Jacob Kim
31c3bccd88
Merge branch 'main' of github.com:continuedev/continue into jacob/feature/static
2025-07-05 08:46:16 -07:00
Jacob Kim
408038275d
update types
2025-06-28 19:55:28 -07:00
uinstinct
fce7a5d788
rename all files to .vitest.ts
2025-06-17 10:35:25 +05:30
uinstinct
6cdefaeead
update tests
2025-06-12 18:02:24 +05:30
adarshramiyer
16c828867e
updated snippet filtering and validation
2025-06-11 18:03:28 -07:00
adarshramiyer
841818de6b
Merge branch 'main' of https://github.com/continuedev/continue into adarsh/enhancement/deduplication
2025-06-11 16:53:03 -07:00
adarshramiyer
8f1c5ed5f5
quick fixes for PR checks
2025-06-09 18:24:49 -07:00
adarshramiyer
398730364f
implemented very simple priority-based deduplication
2025-06-09 15:39:21 -07:00
adarshramiyer
039404a0ab
wrapped up requested edits for opened file context
2025-06-09 14:01:37 -07:00
adarshramiyer
8fc3a35e93
branch ends here; debugged, optimized, and set up for good open file context provision
2025-06-05 16:21:32 -07:00
adarshramiyer
5fbc641561
wrote adaptive trimmer for autocomplete opened file context
2025-06-05 15:12:14 -07:00
adarshramiyer
0a632b5401
open files context works :) refinements to come as to how they are loaded into context
2025-06-04 15:20:16 -07:00
Nate
184be8f092
npx prettier --check "core/**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-p
...
ath .gitignore --ignore-path .prettierignore --write
2025-05-25 18:34:39 -07:00
Orion
ea3bf046a1
✨ add seed coder fim template
2025-05-11 00:27:38 +08:00
Nate
dc6827aca4
fix mercury autocomplete formatting
2025-04-29 13:18:09 -07:00
Nate
e39446d477
mercury improvements
2025-04-26 17:38:12 -07:00
Owen W. Taylor
71186117ef
Autocomplete: make Granite 3 detection broader
...
The Granite 3 models on Hugging Face use names like:
https://huggingface.co/ibm-granite/granite-3.1-8b-instruct
Compared to:
https://ollama.com/library/granite3.1-dense
Use the hole-filler template for names with or without the dash.
2025-02-14 10:44:30 -05:00
ferenci84
d80dbff7a7
remove commented snippet filtering and reversing logic in AutocompleteTemplate.ts
2025-02-06 08:12:27 +01:00
ferenci84
d282974c34
remove AutocompleteCompletionOptions and related logic
2025-02-06 08:04:58 +01:00
ferenci84
95144dd277
add comment linking to issue about the qwen fim template
2025-02-04 09:42:06 +01:00
ferenci84
ddd0be1e61
Change mistral template to produce a single prompt
2025-02-03 09:37:28 +01:00
ferenci84
5aaab9c91e
update template logic codestral and qwen
2025-02-02 07:29:35 +01:00
ferenci84
5fb848d163
Exclude Continue's own output from autocomplete snippets
2025-02-02 06:17:50 +01:00
ferenci84
3d08fc96bf
add promptOnly option to handle single prompt with suffix for Ollama provider
2025-02-01 19:46:27 +01:00
ferenci84
d92a7e08b9
Snippet handling with experimental hidden autocomplete options, Qwen coder template with ollama
2025-02-01 12:19:42 +01:00
ferenci84
fce2b561d5
update autocomplete templates and snippets handling
2025-01-31 16:33:51 +01:00
Test
e63e990e78
Update AutocompleteTemplate.ts
2025-01-09 10:38:04 -08:00
Test
3afe045839
fix codestral bug
2025-01-09 10:34:05 -08:00
Test
1cabf9b745
add posthog experiment
2025-01-09 09:50:16 -08:00
Test
0b3cc92922
bugfix: only allow maxSnippetsPerFile
2025-01-08 16:56:29 -08:00
Test
811507a406
feat(autocomplete): recently visited ranged service
2025-01-08 15:59:33 -08:00
Dallin Romney
a43c31a143
untitled file url
...
:
2024-12-17 14:32:09 -08:00
Dallin Romney
c3aa7c6d63
build fixes
2024-12-13 16:26:09 -08:00
Dallin Romney
96e970682f
minor fix
2024-12-13 12:50:12 -08:00
Dallin Romney
745b97ff0f
fix main merge conflicts
2024-12-13 12:49:03 -08:00
Nate
707bc867fe
use newline instead of empty suffix
2024-12-13 08:17:32 -08:00
Dallin Romney
62bb4135e9
findUriWithinDirs
2024-12-12 16:33:22 -08:00
Dallin Romney
5fbace715d
remove listfolders and walkdirinworkspaces
2024-12-12 15:12:09 -08:00
Dallin Romney
01efdfeb6e
walkdir and repomap p1
2024-12-12 14:16:26 -08:00
Dallin Romney
25329bbd77
path -> uri continued
2024-12-11 19:15:32 -08:00
Dallin Romney
ad52a7eab3
path->uri progress
2024-12-11 14:43:37 -08:00
Dallin Romney
b6b3cceb78
(BROKEN COMMI) path -> uri vscode utils and prompt files cont
2024-12-10 17:28:56 -08:00
tomasz-io
63e63f54cd
improv: update suffix and prefix percentages, clean up code
2024-11-29 15:54:11 -08:00
tomasz-io
73b8496ef8
improv: use import definition snippets
2024-11-29 15:51:58 -08:00
tomasz-io
a9d09d115f
Merge branch 'main' into tomasz/restore-multiline-stop
2024-11-28 13:01:23 -08:00