Commit graph

612 commits

Author SHA1 Message Date
NGC13009
dc7caf9411 add qwen3-ollama support in autocomplete 2025-07-13 00:48:34 +08:00
uinstinct
330fa09aab fix: autocomplete dev data timestamp as iso string 2025-07-08 21:57:28 +05:30
Nate Sesti
cabc0da4e6
Merge pull request #6194 from hayden-cardwell/main
fix(autocomplete): trim trailing <|file_separator|> for Gemini/Gemma
2025-07-03 18:10:11 -07:00
Jacob Kim
cc3b8d9008 add JavaScript as language info 2025-06-26 16:55:32 -07:00
Adarsh Iyer
917fad3412
Merge branch 'main' into feature/nextEdit 2025-06-23 15:53:50 -07:00
Hayden Cardwell
16d3145702 fix(autocomplete): trim trailing <|file_separator|> for Gemini/Gemma models
Google Gemini/Gemma models sometimes append "<|file_separator|>" at the end of autocomplete completions, forcing users to remove it manually. Update postprocessCompletion to detect when llm.model includes "gemini" or "gemma" and the completion ends with "<|file_separator|>", then slice off the trailing 18 characters.

See #6067
2025-06-23 07:40:17 -05:00
adarshramiyer
26c501e9a1 can get autocomplete context now after HUGE debugging sesh 2025-06-20 00:51:54 -07:00
adarshramiyer
3202b2d34d improved edit logging behavior, working on optimizing performance now 2025-06-17 15:43:37 -07:00
Tomasz Stefaniak
fd3b19b295
Merge pull request #6063 from uinstinct/core-vitest/autocomplete
chore: migrate core (autocomplete) tests to vitest
2025-06-17 10:19:25 -07:00
uinstinct
fce7a5d788 rename all files to .vitest.ts 2025-06-17 10:35:25 +05:30
Jacob Kim
651f10a97e Merge branch 'main' of github.com:continuedev/continue into jacob/feature/next-edit-mvp 2025-06-16 09:07:12 -07:00
Jacob Kim
065ac51838 add a function to extract snippets without race 2025-06-14 16:26:32 -07:00
uinstinct
4b4e3e4702 fix misused promises errors in core folder 2025-06-13 23:01:28 +05:30
Patrick Erichsen
00911c6055
Merge pull request #6028 from ShamanicArts/forceAutocomplete
feat: Add shortcut to force autocomplete (VSCode)
2025-06-12 17:12:19 -07:00
uinstinct
6cdefaeead update tests 2025-06-12 18:02:24 +05:30
uinstinct
52078bf52a Merge branch 'main' into core-vitest/autocomplete 2025-06-12 17:45:17 +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
Adarsh Iyer
3f595eceb4
Merge pull request #6012 from continuedev/feature/view-context/base-copy
[Updated PR] [Feature] Autocomplete context from other tabs open in the editor
2025-06-11 16:25:04 -07:00
uinstinct
0a4edcb367 remove .only 2025-06-10 12:47:27 +05:30
uinstinct
41f6f50dbe migrate filter.test and add '.continueignore' to test dir 2025-06-10 12:23:22 +05:30
uinstinct
68a9f37b86 migrate charStream and lineStream tests 2025-06-10 11:50:55 +05:30
uinstinct
6f80d6198b migrate snippet and util tests 2025-06-10 11:50:38 +05:30
uinstinct
033577d99f migrate generation tests 2025-06-10 11:50:22 +05:30
uinstinct
d2c99e51bc test RootPathContextService 2025-06-10 11:26:53 +05:30
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
Lucas Shamanic
77a723cdea Add force autocomplete command and update inline completion handling
- Introduced a new command `continue.forceAutocomplete` to trigger autocompletion manually.
- Updated `CompletionProvider` to accept a `force` parameter for inline completion.
- Enhanced `ContinueCompletionProvider` to handle manual autocompletion triggers.
2025-06-07 04:00:30 +01:00
Nate Sesti
dd7c7cadb1
Merge pull request #5973 from continuedev/jacob/enhancement/autocomplete-respect-continueignore
Implement #3244
2025-06-06 08:47:38 -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
Jacob Kim
55e1dc9571 pass prettier check 2025-06-05 14:22:19 -07:00
Jacob Kim
fbaa58ce26 remove comments 2025-06-05 14:16:00 -07:00
Jacob Kim
d27dddef3d include files listed inside workspace .continueignore 2025-06-05 14:06:10 -07:00
adarshramiyer
7bbd9b000d ok branch finished now. made time limit for open file context same as other contexts 2025-06-04 15:51:44 -07:00
adarshramiyer
062abb689d branch feature/view-context-make-context-experiment-greedy terminated here. 2025-06-04 15:21:18 -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
Jacob Kim
b7fad2cc78 read .continueignore and check if the current filepath matches the pattern in continueignore 2025-06-03 17:59:07 -07:00
adarshramiyer
4f9c7a3974 testing console logs removed, this is good to go 2025-06-03 17:12:05 -07:00
adarshramiyer
6a542a2d93 good detection of changing active view and closing tabs now 2025-06-03 16:31:57 -07:00
adarshramiyer
78c86d1e59 temp experiment finished. figured out how to catch when files close. 2025-06-03 15:41:27 -07:00
Jacob Kim
2af7850205 prepare the LLM first, then use it to get per-model autocompleteOptions 2025-06-03 14:52:25 -07:00
adarshramiyer
ceee1831e3 general outline of which files will be modified for update 2; short break from this branch to test changeVisibleTextEditors 2025-06-03 14:24:15 -07:00
adarshramiyer
ad95e61ec0 defining cache for opened files + making change in active editor update cache element recency 2025-06-03 13:47:07 -07:00
Nate
02e4fa6e45 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:03:36 -07:00
Nate Sesti
739ebcad3d
Merge pull request #5882 from continuedev/dallin/fix-git-diff-caching
Fix git diff caching
2025-05-31 23:44:01 -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
Dallin Romney
d54b7c799f don't get diff snippets for autocomplete 2025-05-28 19:14:02 -07:00
Dallin Romney
34166b6af9 change to 'gitDiffCache' and add tests 2025-05-28 15:31:18 -07:00