Commit graph

196 commits

Author SHA1 Message Date
Jacob Kim
ea02b4b446 test: update test 2025-08-08 15:16:45 -07:00
Jacob Kim
43dd4f622e fix: prompt and userEdits 2025-08-08 15:16:38 -07:00
Jacob Kim
15a78628f0 test: update test 2025-08-08 15:16:16 -07:00
Jacob Kim
3c5d91aaaa feat: add hunk to prompt 2025-08-08 15:16:09 -07:00
Jacob Kim
4cfe12f5e0 test: update test 2025-08-08 15:13:56 -07:00
Jacob Kim
9937209bb7 feat: add hunk details to metadata 2025-08-08 15:13:48 -07:00
Jacob Kim
5314fcbe25 test: update test 2025-08-08 12:30:02 -07:00
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
faa6c0f6c5 test: add vitest for helper functions 2025-08-08 11:04:56 -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
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
Jacob Kim
2aae07efc3 refactor: move capabilities to the top 2025-08-06 18:24:43 -07:00
Jacob Kim
722bdbf97d refactor: use next edit model enum 2025-08-06 18:24:17 -07:00
Jacob Kim
6b51f556a9 fix: remove test llm from prompt engine vitest 2025-08-06 16:26:56 -07:00
Jacob Kim
793c835f23 fix: remove test model for now 2025-08-06 16:20:43 -07:00
Jacob Kim
b3da8c7c70 refactor: return token, startTime, and helper 2025-08-06 16:06:45 -07:00
Jacob Kim
971eb861e6 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3283 2025-08-06 16:00:43 -07:00
Jacob Kim
51ef9a9ec7 refactor: only handle test environments 2025-08-06 15:51:12 -07:00
Jacob Kim
e480bcf9d0 refactor: check if model supports next edit 2025-08-06 15:50:59 -07:00
Jacob Kim
c70f5695dc chore: add comments 2025-08-06 15:49:22 -07:00
Jacob Kim
1374574f30 fix: stale tests 2025-08-05 16:18:31 -07:00
Jacob Kim
9f0baeae42 fix: properly calculate diff group 2025-08-05 13:23:17 -07:00
Jacob Kim
04f238afc8 feat: add diffLines field 2025-08-05 13:21:09 -07:00
Jacob Kim
fa5323f626 feat: pass difflines 2025-08-05 13:20:57 -07:00
Jacob Kim
58f400144f test: add test for _calculateOptimalEditableRegion 2025-08-04 11:42:00 -07:00
Jacob Kim
5aaa4912da feat: respect token limits 2025-08-04 11:41:44 -07:00
Jacob Kim
8e79ce3587 refactor: rename constants to be model-specific 2025-08-04 09:53:07 -07:00
Jacob Kim
24428b97d2 refactor: clean up provideInlineCompletionItems method 2025-08-03 14:44:53 -07:00
Jacob Kim
bdcfa85df1 refactor: initialize usingFullFileDiff once 2025-08-03 13:43:15 -07:00
Jacob Kim
a49e8cbbd5 feat: toggle given fullFileDiff 2025-08-03 13:25:45 -07:00
Jacob Kim
da3230eef7 feat: handle cases where fullFileDiff is true 2025-08-03 13:12:35 -07:00
Jacob Kim
b92aa32090 fix: properly handle diff groups to use maxGroupSize instead of maxGap 2025-08-03 13:11:56 -07:00
Jacob Kim
9a460bf5d9 refactor: make enqueueProcessed public 2025-08-03 13:11:25 -07:00