Commit graph

306 commits

Author SHA1 Message Date
mp
a765d738e1 Basic LSP Usage 2024-11-14 18:08:52 -08:00
mp
19a8d36e07 Add LRU cache 2024-11-12 02:31:26 -08:00
mp
339aff5d31 Refactor sendLLMMessage and add FIM mode 2024-11-12 01:36:32 -08:00
mp
aab065139e Trim prefixes to increase cache hit rate 2024-11-10 23:52:25 -08:00
pythons
aa6b5c6b6c refactor: modularize LLM providers and types
- Split monolithic sendLLMMessage.ts into separate provider modules
- Create dedicated files for each LLM provider (anthropic, gemini, openai, ollama, greptile)
- Move types into separate types.ts file
- Update import paths across affected files
- No functional changes, purely architectural improvement

This refactoring improves code organization and maintainability by:
- Separating concerns for each LLM provider
- Making the codebase more modular
- Improving type management
2024-11-11 15:10:32 +08:00
mp
652f64cd14 Add basic system prompt 2024-11-08 21:57:33 -08:00
priyash7
f8917e7548 added strings to info 2024-11-08 17:51:56 +05:30
mp
9b878a9fc0 Merge remote-tracking branch 'origin/main' into autocomplete 2024-11-08 01:28:19 -08:00
mp
268d03fad5 Add working autocomplete with caching 2024-11-08 01:23:09 -08:00
Andrew Pareles
2814c63765 drag and drop extension into main 2024-11-06 16:01:59 -08:00
Piyush Bhardwaj
cc3a08e1ab
Merge branch 'main' into Gemini 2024-11-06 22:11:38 +05:30
Piyu-Pika
5b3a6d240e minor bug fix 2024-11-06 22:04:46 +05:30
priyash7
cc8c4d33ef passed info 2024-11-06 17:25:35 +05:30
Piyu-Pika
8897feb290 Groq Added 2024-11-06 12:21:11 +05:30
Madhav160804
1c739e521d ollama error handling 2024-11-05 02:49:24 +05:30
Madhav Dhingra
794f35fc37 added ollama model check 2024-11-05 02:30:30 +05:30
Andrew
6c93028ce3 misc 2024-11-03 19:39:57 -08:00
Andrew
49072d43ea minor changes 2024-11-03 18:06:40 -08:00
Andrew
a5090b8025 simplify 2024-11-03 01:57:05 -08:00
Andrew
36c3cd53e1 add new logging algo and move applyDiffLazily to diffProvider 2024-11-03 00:31:32 -07:00
Andrew
e4e1c7fb6c vscode types in extension 2024-11-02 21:53:08 -07:00
Andrew
9d972f72ea update and add imports of sendLLMMessage 2024-11-02 21:25:39 -07:00
Andrew
3d629396be backup of a working version 2024-11-02 20:42:08 -07:00
Andrew
584d026256 renders oldText nicely! 2024-11-02 00:50:18 -07:00
Andrew
5acc53311d add files to make native insets work! #124 2024-11-01 21:23:38 -07:00
mp
d7c00addd5 update inline diffs 2024-10-31 17:10:39 -07:00
Andrew Pareles
b34119c4df
Merge pull request #134 from Piyu-Pika/Gemini
Gemini added #new feature
2024-10-30 23:19:52 -07:00
Andrew
ed9e126a4a remove duplicate extension.ts 2024-10-30 23:16:36 -07:00
Andrew
a8010eec15 simplify gemini 2024-10-30 22:46:47 -07:00
Piyu-Pika
8cd1ea305c Gemini 2024-10-31 10:41:04 +05:30
Piyush Bhardwaj
762264b030
Merge branch 'main' into Gemini 2024-10-31 10:28:17 +05:30
Andrew
cd9173c802 move ctrlk 2024-10-30 18:59:17 -07:00
Piyu-Pika
0c8a185df7 Gemini added 2024-10-29 18:05:07 +05:30
Andrew
0f0719c596 fix type 2024-10-29 00:26:46 -07:00
Andrew
d9397d870f change CodeSelection type 2024-10-28 17:17:26 -07:00
Andrew
1704a7de7a improve line rounding 2024-10-28 16:34:19 -07:00
Andrew
616cd2e39b update back to enum 2024-10-28 15:58:48 -07:00
Andrew
ab5245d2d9 Max tokens is optional + other config updates - Fixes #128 2024-10-28 15:50:05 -07:00
Andrew
70b6af34e1 Merge branch 'main' into multiple-webviews 2024-10-28 03:58:36 -07:00
Andrew
119462f663 fix imports?? 2024-10-28 03:58:09 -07:00
Andrew
8ee665cd57 fix imports 2024-10-28 03:53:40 -07:00
Andrew
ace3f181ed Merge branch 'speculative-edits' into multiple-webviews 2024-10-28 03:53:02 -07:00
Andrew
6d12737fda add throttling 2024-10-28 03:52:19 -07:00
Andrew
d3962acd30 merge - but appears broken 2024-10-28 03:44:13 -07:00
Andrew
18557c8f6e comment out ctrlk so it builds 2024-10-28 03:37:18 -07:00
Andrew
29b037726e Merge branch 'speculative-edits' into multiple-webviews 2024-10-28 03:36:39 -07:00
mp
eae1af331f Create Ctrl + K 2024-10-28 03:36:07 -07:00
Andrew
2e92da500f lines sweep works! Need to polish it. 2024-10-28 03:19:40 -07:00
Andrew
8bc3a0d277 windows build works!! 2024-10-26 19:17:20 -07:00
Andrew
d80c88bc38 move files to right places 2024-10-25 22:39:13 -07:00
Andrew
dd34a5be57 fix ctrl L change 2024-10-25 22:35:13 -07:00
Andrew
f4be80b724 Merge remote-tracking branch 'origin/ctrlk-diff-ui' into multiple-webviews 2024-10-25 22:31:44 -07:00
Andrew
b40c58b78a Merge remote-tracking branch 'origin/speculative-edits' into multiple-webviews 2024-10-25 22:25:47 -07:00
Andrew
64468b6f4d Merge branch 'speculative-edits' into multiple-webviews 2024-10-25 22:14:11 -07:00
Andrew
8f83b063f1 add ctrlk webview provider 2024-10-25 22:10:22 -07:00
mp
9eb897b655 Better file reading function 2024-10-25 21:55:15 -07:00
mp
a738ca0b2c Reafactor DiffProvider for ctrl+k 2024-10-25 21:47:00 -07:00
Andrew
f56772a07a amend 2024-10-25 19:58:35 -07:00
Andrew
38662d2824 major refactor, allow 3 types of webview 2024-10-25 19:49:59 -07:00
Andrew
a51873c06a move files to extension/ 2024-10-25 15:58:06 -07:00
Andrew
a29543e4a7 Promisify 2024-10-25 01:33:54 -07:00
Andrew
d4a2ac2796 draft 2024-10-25 01:22:10 -07:00
Andrew
4b5e09c124 Merge remote-tracking branch 'origin/speculative-edits' into ctrlk-diff-ui 2024-10-24 21:08:57 -07:00
Andrew
f8f48fb98b + 2024-10-24 20:48:04 -07:00
Andrew
1b8e7f3643 amend 2024-10-24 19:59:25 -07:00
Andrew
420ecb320e Merge branch 'main' into speculative-edits 2024-10-24 19:58:58 -07:00
mp
097f279ecb Throttle edit requests, refactor 2024-10-24 19:48:31 -07:00
Andrew
a926efcd2a attempt windows build 2024-10-24 19:25:20 -07:00
Andrew Pareles
3aba62a6ed update contrib + ctrlk hello world works! 2024-10-23 01:40:47 -07:00
Andrew Pareles
376172e5a9 update contributing 2024-10-23 00:49:33 -07:00
Andrew Pareles
4dd6553e34 building on a mac works! so does editorInset! 2024-10-22 23:49:03 -07:00
Andrew
f2b3a2be30 comment out checkProposedApiEnabled(extension, 'editorInsets'); 2024-10-22 22:59:09 -07:00
mp
1e4c932313 Track call time 2024-10-22 14:32:39 -07:00
mp
7bd9e01a15 Working draft of speculative edits 2024-10-21 18:33:00 -07:00
Andrew
69277a287a update Ollama message 2024-10-21 15:24:53 -07:00
Andrew
6dc9988af0 amend 2024-10-20 23:28:51 -07:00
Andrew
18656372f8 add ctrlk, autofocus chatbar 2024-10-20 23:24:40 -07:00
Andrew
febf492790 clarify 2024-10-20 20:15:25 -07:00
Andrew
bcb0c33616 amend 2024-10-20 19:23:47 -07:00
Andrew Pareles
7072933a88
Update build-tsx.js 2024-10-20 19:20:03 -07:00
Andrew
f2342bee2d add back syntax highlighter 2024-10-20 18:39:53 -07:00
Andrew
572e9f07ea misc 2024-10-20 17:14:10 -07:00
Andrew
09d84044b5 monaco loads... need to adjust height 2024-10-19 21:38:17 -07:00
mp
9ecf596cbb Prepare to debug 2024-10-19 20:17:54 -07:00
Andrew
a49a1324a5 Merge branch 'main' into monaco-editor 2024-10-19 18:50:05 -07:00
Andrew
8538caeffc start adding monaco 2024-10-19 18:49:43 -07:00
Andrew
79ecd98818 add metrics 2024-10-19 18:21:19 -07:00
mp
f6cad40a44 Finish speculative draft 2024-10-18 19:18:11 -07:00
mp
e25368ef7f Merge branch 'main' into speculative-edits 2024-10-18 17:25:13 -07:00
mp
7ce17a0854 Initial draft for speculative edits 2024-10-18 17:19:38 -07:00
Andrew
c5b5e07a98 monaco comment 2024-10-18 00:48:44 -07:00
Andrew
2addd06e60 switch to new tab on ctrl+l 2024-10-17 23:26:31 -07:00
Andrew
177f2e92f8 amend - fix disabled 2024-10-17 21:34:30 -07:00
Andrew
217f61902e add metrics 2024-10-17 21:23:07 -07:00
Andrew
9274602051 amend - uuid type 2024-10-17 19:15:42 -07:00
Andrew
18649d3255 fix package 2024-10-17 17:29:28 -07:00
Andrew
2b55d94cce Merge branch 'main' into ui-refactor-10-15 2024-10-17 17:26:08 -07:00
Andrew
e2e6cb0327 Merge branch 'main' into pr/w1gs/87 2024-10-17 17:18:12 -07:00
Andrew
5415f1e3cb amend 2024-10-17 16:46:52 -07:00
Andrew
0f3a79ab54 error UI 2024-10-17 16:43:25 -07:00