509 Commits

Author SHA1 Message Date
bobo.yang
ce8091fd9e add limit to diff lenght 2023-12-27 14:41:05 +08:00
Tim
1709a3c2e3
Merge pull request #15 from devchat-ai/fix_type_error
Add Optional import to single_select.py and text_edit.py
2023-12-21 18:32:52 +08:00
bobo.yang
c052625df2 Add Optional import to single_select.py and text_edit.py 2023-12-21 18:24:03 +08:00
boob.yang
19bc9114bc
Merge pull request #14 from devchat-ai/return_while_test_or_in_idea
Fix conditional statement in rpc_call function
2023-12-21 10:49:58 +08:00
bobo.yang
1f23fd4d86 Fix conditional statement in rpc_call function 2023-12-21 10:42:26 +08:00
boob.yang
fbac5f8037
Merge pull request #13 from devchat-ai/optimize_commit_workflow
Fix file path normalization in commit.py and handle API errors in ope…
2023-12-21 10:36:34 +08:00
bobo.yang
868628ec6e Remove unnecessary progress message 2023-12-21 10:25:28 +08:00
bobo.yang
0336bca3b1 Add log_info function to ide_services.services.py 2023-12-20 21:13:05 +08:00
bobo.yang
ba647b967b Fix file path normalization in commit.py and handle API errors in openai.py 2023-12-20 19:14:36 +08:00
kagami
86c39b6ebd
Merge pull request #12 from devchat-ai/fix_windows_import_error
refactor: Update import paths in commit module
2023-12-20 15:00:19 +08:00
bobo.yang
bf0c67d526 Add flake8 ignore for import order 2023-12-20 14:47:20 +08:00
bobo.yang
f955f81a84 refactor: Update import paths in commit module
- Imported additional necessary modules for functionality
- Modified path handling to enhance module compatibility
- Adjusted imports for clarity and maintenance
2023-12-20 14:33:51 +08:00
kagami
7169c57871
Merge pull request #11 from devchat-ai/fix_commit_error
Fix return statement in get_file_summaries function
2023-12-20 13:42:03 +08:00
bobo.yang
98d5b93594 Fix return statement in get_file_summaries function 2023-12-20 13:26:06 +08:00
kagami
94c73fe518
Merge pull request #10 from devchat-ai/fix_commit_with_empty_files
Fix issue with committing empty files
2023-12-20 10:54:56 +08:00
bobo.yang
d1d7ed4332 Fix issue with committing empty files 2023-12-20 10:43:47 +08:00
kagami
b477974ed2
Merge pull request #8 from devchat-ai/add_group_ui_wrapper
Add group UI wrapper
2023-12-18 21:11:17 +08:00
bobo.yang
d2aaa48630 Refactor ui_group function to format ui_message as
a chatmark form
2023-12-18 21:06:07 +08:00
bobo.yang
1e8cb3f6f6 Update ui_group function in group.py 2023-12-18 21:06:07 +08:00
bobo.yang
2cf1b0305b Refactor UI group function 2023-12-18 21:06:07 +08:00
bobo.yang
2b74ea0822 reformat 2023-12-18 21:06:07 +08:00
bobo.yang
63ca9b4140 Remove unnecessary print statement in
pipe_interaction function
2023-12-18 21:06:07 +08:00
bobo.yang
e2e0c6b93a add ide service and group ui 2023-12-18 21:06:07 +08:00
kagami
8eb0d0b9dc
Merge pull request #9 from devchat-ai/update_ask-code_to_devchat-ask-0.1.8
Update ask code to devchat ask 0.1.8
2023-12-18 15:57:02 +08:00
bobo.yang
d37fbaa18b Update query function to calculate and print the
cost of the question
2023-12-18 09:14:42 +08:00
bobo.yang
73c69afffa reformat 2023-12-18 09:14:42 +08:00
bobo.yang
34bda0398b reformat 2023-12-18 09:14:42 +08:00
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