19 Commits

Author SHA1 Message Date
bobo.yang
ed2f645eb4 package dtm 2023-05-09 18:04:08 +08:00
bobo.yang
ac4f9d6802 add useHistoryPrompts config 2023-05-08 20:21:57 +08:00
bobo.yang
6f0dca9788 update to lastest devchat 2023-05-08 09:51:10 +08:00
Rankin Zheng
9712d9a976 feat: Add react-syntax-highlighter and react-markdown to package.json
Add react-syntax-highlighter and react-markdown to package.json to enable syntax highlighting and markdown rendering in the chat panel.

Also, update ChatPanel.tsx to use ReactMarkdown instead of Remark for markdown rendering. Additionally, add SyntaxHighlighter from react-syntax-highlighter to render code blocks with syntax highlighting.
2023-05-07 18:27:01 +08:00
Rankin Zheng
0630da3b09
Merge branch 'main' into chat-messages 2023-05-06 00:42:49 +08:00
Rankin Zheng
b405e41ebf Merge branch 'chat-messages' of https://github.com/runjinz/devchat-vscode into chat-messages 2023-05-06 00:00:38 +08:00
Rankin Zheng
9fa3c8fba2 Add react-remark package and use it to render markdown in ChatPanel 2023-05-06 00:00:25 +08:00
bobo.yang
bac73dadb1 refactor code 2023-05-05 21:27:40 +08:00
bobo.yang
e586c1d500 add config 2023-05-05 14:58:38 +08:00
bobo.yang
06215450ad support user definded instructions 2023-05-04 17:46:06 +08:00
Rankin Zheng
84222db4cc refactor: Refactor VSCode extension using React. 2023-05-04 16:09:19 +08:00
bobo.yang
5f154777f6 release 0.0.1 2023-04-27 14:07:46 +08:00
bobo.yang
ce4634767c replace GTP call with devchat 2023-04-26 06:48:39 +08:00
bobo.yang
3a3d6ee400 store api key in .env 2023-04-22 08:37:27 +08:00
bobo.yang
0ba5c6c377 Updated the ChatPanel class, connected to the GPT model using the openai package, and modified the chatWithGPT function to accept conversation history and user roles for better context-aware responses. 2023-04-22 07:53:20 +08:00
admin
4075819c79 Implement chat UI in VSCode extension with improved styling 2023-04-21 06:51:57 +08:00
Jinglei Ren
7356be808f Add repo URLs to package.json 2023-04-17 15:49:16 +08:00
Jinglei Ren
0d15c4550c Add prompt command 2023-04-14 09:29:10 +08:00
Jinglei Ren
561ec4b505 Scaffold the VS Code extension 2023-04-14 08:11:05 +08:00