14 Commits

Author SHA1 Message Date
bobo
36fc46212a refactor: Improve user experience and streamline commit workflow
- Simplify and clarify user prompts and output messages
- Remove unnecessary print statements and text
- Handle commit abort and errors more gracefully
- Improve error logging in OpenAI chat stream handler
2024-01-04 10:59:46 +08:00
bobo
7fbf44cd06 feat: Update chat_completion_stream function signature
- Update the signature of the chat_completion_stream function
- Remove unnecessary line breaks and indents
- Improve code readability and maintainability
2024-01-03 11:20:09 +08:00
bobo
788a6f08f8 fix: Update chat_completion_stream function names
- Update function names in openai.py
- Modify function import in __init__.py
- Update function call in openai.py
2024-01-03 11:08:38 +08:00
bobo
86d087dd12 refactor: Improve readability and syntax in codebase
- Reformatted multiline strings for clarity in commit.py
- Applied consistent quotation marks for string literals in commit.py
- Introduced newlines between rpc_call decorator functions in services.py
2024-01-02 21:37:02 +08:00
bobo
47e2bd9b9b feat: Add stream_out parameter to chat_completion_no_stream
- Add stream_out parameter to chat_completion_no_stream function
- Print delta content when stream_out is True
- Ensure seamless streaming of chat completion response
2024-01-02 21:37:02 +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
bobo.yang
4270dca50f reformat 2023-12-14 11:01:04 +08:00
bobo.yang
6afe1552fb update openai to 1.0 2023-12-14 10:36:24 +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
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