Commit graph

420 commits

Author SHA1 Message Date
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 Pareles
f86b84dcc6
Merge pull request #105 from voideditor/ui-refactor-10-15
Split up Sidebar tabs into files and clearer message types (incorporates direction)
2024-10-15 20:54:33 -07: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 Pareles
dc96d126bb
add package.json to list of void's changed files 2024-10-15 00:31:40 -07: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 Pareles
e153ffee4e
Merge pull request #51 from okxiaoliang4/feature/voidrules
feat: system prompt `.voidrules`
2024-10-14 20:29:54 -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 Pareles
8c9eeaa133
Merge pull request #98 from ShikangPang/openai_compatible
fix: Refactor openAICompatible initialization in sendLLMMessage.ts
2024-10-14 16:45:49 -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
Andrew Pareles
b0758e02aa
Merge pull request #99 from IDLe-Engineering/patch-1
Update sendLLMMessage.ts
2024-10-14 16:21:03 -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 Pareles
e04d839640
Merge pull request #53 from anetaj/feature/persist-threads-history
Persist chat threads history
2024-10-11 19:19:13 -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 Pareles
1b8271d217
Merge pull request #52 from anetaj/feature/style-include-files
Input box style
2024-10-11 17:12:18 -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