Commit graph

241 commits

Author SHA1 Message Date
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
Andrew
983e926a23 add error handling from #87 2024-10-17 16:36:37 -07:00
Andrew
302aa2b384 warning for devs 2024-10-17 15:30:01 -07:00
Andrew
84ff9784ca fix sidebar settings 2024-10-17 01:20:59 -07:00
Andrew
628ed9a578 Merge branch 'main' into pr/SOUMITRO-SAHA/77 2024-10-17 00:15:15 -07:00
Andrew
0a6f7b8ebc Merge branch 'main' into ui-refactor-10-15 2024-10-17 00:12:03 -07:00
Andrew Pareles
5b511edca1
Merge pull request #108 from IDLe-Engineering/patch-3
Connect-src updates for OpenAICompatible
2024-10-17 00:11:25 -07:00
Andrew Pareles
4ecbd998bd
Merge pull request #106 from IDLe-Engineering/patch-2
Build prompt dynamically
2024-10-17 00:10:54 -07:00
Andrew
fcd0eb30c6 fix 2024-10-16 23:06:34 -07:00
Andrew
aa4ce3478a update styles in settings page 2024-10-16 23:03:51 -07:00
Andrew
1e82781c52 outline color 2024-10-16 20:42:47 -07:00
Andrew
edf9dc9279 thread switching 2024-10-16 20:03:50 -07:00
Andrew
63c6b6bec5 vscode styles 2024-10-16 20:00:07 -07:00
Andrew
154a82ab0b add settings UI 2024-10-16 19:32:21 -07:00
Andrew Pareles
0240fc1803
Update package.json 2024-10-16 16:22:59 -07:00
Andrew
d3b862ae91 history display slightly nicer 2024-10-16 16:19:32 -07:00
Andrew
0072c554fb tabs 2024-10-16 14:52:49 -07:00
Tom Spielvogel
ed8381c6cb
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:29:46 +02:00
Tom Spielvogel
40b4ecb4f8
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:29:27 +02:00
Tom Spielvogel
5268ededbb
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:28:48 +02:00
Tom Spielvogel
a69e1b940f
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:26:24 +02:00
Tom Spielvogel
15994c46d1
Adapted to new type CodeSelection 2024-10-16 11:28:23 +02:00
Tom Spielvogel
b565a91194
Connect-src needs hold the entire path for chat completions for OpenAICompatible
Simply using the enpoint will trigger a Content-Security-Policy error in vscode when trying to send messages to the LLM
2024-10-16 10:56:46 +02:00
Andrew
b30937934a progress moving settings to be extension-native 2024-10-16 01:12:57 -07:00
Tom Spielvogel
eec7cd7321
Update SidebarChat.tsx
Build the prompt based on the actual use-case.
If no files or code is selected, don't prompt the LLM to change it. It saves time and tokens
2024-10-16 08:55:37 +02:00
Andrew
cd9bca0451 split up message direction and Sidebar tabs 2024-10-15 20:51:46 -07:00
Darion
ce3043b595
Merge branch 'main' into main 2024-10-15 21:36:00 -04:00
Andrew Pareles
68c5ebb000
Merge pull request #101 from voideditor/diff-selections
Refactor and fix diff highlighting
2024-10-15 15:57:33 -07:00
w1gs
08e91e921b style fixes 2024-10-15 12:36:38 -04:00
w1gs
6c2ca794f5 fixed merge conflicts 2024-10-15 12:24:26 -04:00
Darion
b3fd408cf7
Merge branch 'main' into main 2024-10-15 11:09:32 -04:00
Andrew
07fd622901 add OpenRouter - Fixes Add OpenRouter hosting option #20 2024-10-14 23:50:34 -07:00
Andrew
bb74cbb56b swap 2024-10-14 23:32:25 -07:00
mp
ffab60b4b8 Merge branch 'main' into diff-selections 2024-10-14 21:48:34 -07:00
mp
2309fc53fb Merge dynamic diff features 2024-10-14 20:37:45 -07:00
Andrew
a3d741d685 Merge branch 'main' into pr/okxiaoliang4/51 2024-10-14 20:24:38 -07:00
Andrew
a12e35c5f0 merge package.json 2024-10-14 20:14:44 -07:00
Andrew
5f3e664eed delete ctrl+K placeholder 2024-10-14 18:12:11 -07:00
Andrew
fb69afd5c4 fix thread history persistence 2024-10-14 18:07:22 -07:00
Andrew
00f59e9555 Merge branch 'main' into pr/ShikangPang/98 2024-10-14 16:45:31 -07:00
Andrew
767c45080f update openai 2024-10-14 16:44:57 -07:00
Tom Spielvogel
7f81836d9f
Update sendLLMMessage.ts
In order to take the enpoint specified for the OpenAICompatible setting - the openai class needs to be instanciated with the baseURL setting from apiConfig
2024-10-14 16:18:41 +02:00
Mathew P
33c3ef6751 Fix newline bug 2024-10-13 22:05:10 -07:00
Mathew P
20056f209e Fix accept/reject diff 2024-10-13 17:47:13 -07:00
Andrew
69d848f22b update MarkdownRender 2024-10-13 17:11:29 -07:00
Mathew P
1557a44934 Better diff algorithm 2024-10-13 00:15:41 -07:00
pangshikang
89dd63a0ee fix: Refactor openAICompatible initialization in sendLLMMessage.ts 2024-10-12 16:03:29 +08:00
Andrew
e5c55145e9 update selectedFiles display 2024-10-11 23:18:23 -07:00
Andrew
2638d62a24 only start a new thread if empty 2024-10-11 20:05:10 -07:00
Andrew
0158e2fd5d fix ref issues with useInstantState 2024-10-11 19:18:28 -07:00
Andrew
3e308f2082 state is broken 2024-10-11 18:05:01 -07:00
Andrew
429224993b Merge branch 'main' into pr/anetaj/53 2024-10-11 17:15:52 -07:00
Andrew
29ef6b5b43 finish merge from 'main' 2024-10-11 17:11:44 -07:00
Andrew
23a42659b3 Merge branch 'main' into pr/anetaj/52 2024-10-11 17:09:19 -07:00
Andrew
9d7a5eccd3 Merge branch 'main' into pr/anetaj/52 2024-10-11 16:58:55 -07:00
anetaj
42bdcf54ca
Copy code block (#47)
* rearrange markdown components

* add copy button

* add default style for small button

* hide entire toolbar in user messages

* finish merge

* refactor

---------

Co-authored-by: Andrew <andrewpareles@gmail.com>
2024-10-11 16:56:44 -07:00
Andrew
251b65d04d finish merge 2024-10-11 16:35:33 -07:00
Andrew
b72da01632 Merge branch 'main' into pr/anetaj/53 2024-10-11 16:35:09 -07:00
Andrew
e2f337f882 OpenAICompatible improvements + misc refactor 2024-10-11 15:02:43 -07:00
Mathew P
496c0178de Prepare to fix diff highlighting 2024-10-11 14:03:11 -07:00
Darion
ef94de48c2
Merge branch 'main' into main 2024-10-11 12:56:08 -04:00
w1gs
14a8b0ee4e fixed merge conflicts 2024-10-11 12:52:12 -04:00
Mathew P
38d31ae737 Make diffs dynamic on changes 2024-10-11 01:06:17 -07:00
Andrew Pareles
73fb5bb3c6
Merge branch 'main' into main 2024-10-11 00:36:43 -07:00
jackxiong
2e5be73f0c Supports calling LLM in a way compatible with OpenAI's API, and adds explicit configuration items for users。 2024-10-11 14:58:24 +08:00
Darion
2ca1db35af
Merge branch 'main' into ide-fixes 2024-10-07 10:23:48 -04:00