Commit Graph
289 Commits
Author SHA1 Message Date
Tom SpielvogelandGitHub 17dbda2169 Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:29:27 +02:00
Tom SpielvogelandGitHub a644f3e5e1 Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:28:48 +02:00
Tom SpielvogelandGitHub f2a3a43009 Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:26:24 +02:00
Tom SpielvogelandGitHub 9a1fca809b Adapted to new type CodeSelection 2024-10-16 11:28:23 +02:00
Tom SpielvogelandGitHub 8855fda0e6 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 5b1d9b0b61 progress moving settings to be extension-native 2024-10-16 01:12:57 -07:00
Tom SpielvogelandGitHub ab8616163a 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 dc70ee54d1 split up message direction and Sidebar tabs 2024-10-15 20:51:46 -07:00
DarionandGitHub 70fb232afc Merge branch 'main' into main 2024-10-15 21:36:00 -04:00
Andrew ParelesandGitHub 133e24c64b Merge pull request #101 from voideditor/diff-selections
Refactor and fix diff highlighting
2024-10-15 15:57:33 -07:00
w1gs 09e50eab13 style fixes 2024-10-15 12:36:38 -04:00
w1gs 72168c0b7b fixed merge conflicts 2024-10-15 12:24:26 -04:00
DarionandGitHub 52a301be00 Merge branch 'main' into main 2024-10-15 11:09:32 -04:00
Andrew 6220c04af8 add OpenRouter - Fixes Add OpenRouter hosting option #20 2024-10-14 23:50:34 -07:00
Andrew b4902b6b4f swap 2024-10-14 23:32:25 -07:00
mp 48c2815d2c Merge branch 'main' into diff-selections 2024-10-14 21:48:34 -07:00
mp a244f87afe Merge dynamic diff features 2024-10-14 20:37:45 -07:00
Andrew f489c2773d Merge branch 'main' into pr/okxiaoliang4/51 2024-10-14 20:24:38 -07:00
Andrew 173fc2ce2e merge package.json 2024-10-14 20:14:44 -07:00
Andrew fb756ab65d delete ctrl+K placeholder 2024-10-14 18:12:11 -07:00
Andrew e3937c4a2f fix thread history persistence 2024-10-14 18:07:22 -07:00
Andrew ff4d410744 Merge branch 'main' into pr/ShikangPang/98 2024-10-14 16:45:31 -07:00
Andrew af9fd67781 update openai 2024-10-14 16:44:57 -07:00
Tom SpielvogelandGitHub e3ca6ba862 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 3b41d0b624 Fix newline bug 2024-10-13 22:05:10 -07:00
Mathew P cde69bce50 Fix accept/reject diff 2024-10-13 17:47:13 -07:00
Andrew 35d026f1b2 update MarkdownRender 2024-10-13 17:11:29 -07:00
Mathew P 95926f9a84 Better diff algorithm 2024-10-13 00:15:41 -07:00
pangshikang 9a99b2c87d fix: Refactor openAICompatible initialization in sendLLMMessage.ts 2024-10-12 16:03:29 +08:00
Andrew dffd79c772 update selectedFiles display 2024-10-11 23:18:23 -07:00
Andrew 850d33dcb6 only start a new thread if empty 2024-10-11 20:05:10 -07:00
Andrew f7605071ea fix ref issues with useInstantState 2024-10-11 19:18:28 -07:00
Andrew 3c3f77e173 state is broken 2024-10-11 18:05:01 -07:00
Andrew 6fa9a9cebc Merge branch 'main' into pr/anetaj/53 2024-10-11 17:15:52 -07:00
Andrew a794863a9b finish merge from 'main' 2024-10-11 17:11:44 -07:00
Andrew bbbe994de9 Merge branch 'main' into pr/anetaj/52 2024-10-11 17:09:19 -07:00
Andrew a4dc72edc3 Merge branch 'main' into pr/anetaj/52 2024-10-11 16:58:55 -07:00
56d98a31b0 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 <[email protected]>
2024-10-11 16:56:44 -07:00
Andrew 6d6a61dd5c finish merge 2024-10-11 16:35:33 -07:00
Andrew dc3221abb7 Merge branch 'main' into pr/anetaj/53 2024-10-11 16:35:09 -07:00
Andrew f79244ccec OpenAICompatible improvements + misc refactor 2024-10-11 15:02:43 -07:00
Mathew P 31eab1f341 Prepare to fix diff highlighting 2024-10-11 14:03:11 -07:00
DarionandGitHub 9943ecbce5 Merge branch 'main' into main 2024-10-11 12:56:08 -04:00
w1gs 8033921a13 fixed merge conflicts 2024-10-11 12:52:12 -04:00
Mathew P 46df46d821 Make diffs dynamic on changes 2024-10-11 01:06:17 -07:00
Andrew ParelesandGitHub a704ce49f5 Merge branch 'main' into main 2024-10-11 00:36:43 -07:00
jackxiong 1635f191ad 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
DarionandGitHub 42f6ab8ca1 Merge branch 'main' into ide-fixes 2024-10-07 10:23:48 -04:00
Mathew P e884b6522a diffArea works. Need to fix highlighting 2024-10-07 01:56:29 -07:00
w1gs dcfff47dca fixed dependencies that were preventing IDE builds 2024-10-06 00:17:15 -04:00