332 Commits

Author SHA1 Message Date
bobo.yang
c4c9cb9855 Add cost calculation for ask-code queries 2023-12-18 09:14:42 +08:00
kagami
dac11c003c
Merge pull request #7 from devchat-ai/update_openai_to_1.0
Update openai to 1.0
2023-12-14 14:54:20 +08:00
bobo.yang
4270dca50f reformat 2023-12-14 11:01:04 +08:00
bobo.yang
5359905a58 Update commit command to use devchat_python 2023-12-14 10:36:42 +08:00
bobo.yang
6afe1552fb update openai to 1.0 2023-12-14 10:36:24 +08:00
boob.yang
ce2c69d5cd
Merge pull request #4 from devchat-ai/setup-dev
Init dev env setup
2023-12-08 19:27:25 +08:00
kagami
3f04295b46 Fix lint errors 2023-12-08 18:38:29 +08:00
kagami
82bee7a7de Fix format 2023-12-08 18:38:29 +08:00
kagami
9f6e19ba78 Init github actions 2023-12-08 18:38:29 +08:00
kagami
4e565fab0f Add dev dependency and shortcuts 2023-12-08 18:38:29 +08:00
Jinglei Ren
688bae92a8
Merge pull request #3 from devchat-ai/add_python_requirements
add /commit and /ask-code commands
2023-12-08 13:13:06 +08:00
bobo.yang
8792c56a9d docs: Update commit command description in Chinese
- Updated the commit command description to include Chinese messaging
2023-12-08 11:35:09 +08:00
bobo.yang
4092985e05 feat: Improve rpc_call error handling
- Updated rpc_call in ide_services to gracefully handle server errors
2023-12-08 11:13:17 +08:00
bobo.yang
c58ef78d52 refactor: Update response format and enhance documentation
- Updated the response format to include file paths in filename keys
- Added docstrings to chat_completion functions for better clarity
2023-12-08 11:08:36 +08:00
bobo.yang
169d02007e refactor: Update LLM configs and add markdown flag removal
- Updated model version in various LLM configs to 'gpt-3.5-turbo-1106'
- Added '_try_remove_markdown_block_flag' function in openai.py
2023-12-08 10:55:48 +08:00
bobo.yang
f3d867623c feat: Integrate LLM API and UI utility functions
- Added new LLM API functions for non-streaming chat completions
- Introduced UI utility functions for input/output interaction
- Implemented multi-select and single-select UI components
2023-12-08 10:37:32 +08:00
bobo.yang
6bb5e29593 update prompts and add function comments 2023-12-08 09:20:01 +08:00
bobo.yang
39c721ad66 Update file summaries in commit.py 2023-12-08 08:18:56 +08:00
bobo.yang
30de2d8c62 update commit command 2023-12-08 08:14:34 +08:00
bobo.yang
11f951f3b4 add commit command 2023-12-01 13:06:08 +08:00
bobo.yang
33c534753b remove unsed functions 2023-12-01 12:32:06 +08:00
bobo.yang
552052ecbf more description for ask-code 2023-12-01 12:29:30 +08:00
bobo.yang
f87a2f7f81 read service url from environ 2023-11-30 07:57:24 +08:00
bobo.yang
8a1ece4569 add ask-code command 2023-11-30 07:57:01 +08:00
bobo.yang
1dc2dfdba1 add ide service functions 2023-11-30 07:50:49 +08:00
bobo.yang
cba2b5a447 add requirements 2023-11-23 08:27:56 +08:00
Jinglei Ren
32ebbc934b Add command.yml files 2023-08-28 19:24:41 +08:00
Jinglei Ren
a0b0c5027d
Update README.md 2023-08-28 15:25:46 +08:00
Jinglei Ren
f0cf518da4
Update code.py prompt.txt 2023-08-27 12:55:25 +08:00
Jinglei Ren
4ff2da6b39
Update code.py prompt.txt 2023-08-27 12:53:21 +08:00
Jinglei Ren
6e238eb026 Add code, commit_message and release_note 2023-08-19 14:36:35 +08:00
Jinglei Ren
841992c5ca
Initial commit 2023-08-19 11:04:29 +08:00