kagami
ebbabe321c
Integrate finding context in the workflow
2024-03-11 22:18:00 +08:00
kagami
79139fdcc8
Find symbol context using both static analysis and llm recommendation
2024-03-11 22:18:00 +08:00
kagami
01e57e6e48
Add llm assistant to recommend symbol context for testing
2024-03-11 22:18:00 +08:00
kagami
f3a1cd4dee
Add symbol utils
2024-03-11 22:18:00 +08:00
kagami
06074e744c
Make ide service types hashable
2024-03-11 22:18:00 +08:00
boob.yang
7938975753
Merge pull request #72 from devchat-ai/the-fix-command
...
Add the fix command
2024-03-11 20:15:31 +08:00
Luo Tim
0addeb462e
Add the fix command
2024-03-11 18:57:03 +08:00
boob.yang
cf8ecc7d2f
Merge pull request #71 from devchat-ai/docstring
...
Improve the prompt of doc comments
2024-03-08 21:22:45 +08:00
Luo Tim
49d3efa5b7
Fix code style
2024-03-08 21:09:10 +08:00
Luo Tim
e320c04eb1
Improve the prompt of doc comments
2024-03-08 19:34:40 +08:00
boob.yang
8d0d1e4f86
Merge pull request #70 from devchat-ai/docstring
...
Docstring
2024-03-08 13:54:18 +08:00
Luo Tim
d8fe05f4ff
Add comments command
2024-03-08 12:11:00 +08:00
Luo Tim
95c29f8aac
Add the new /docstring command
2024-03-08 11:28:13 +08:00
Luo Tim
2c7dc280e6
Remove refactor.docstring
2024-03-08 11:27:44 +08:00
boob.yang
18d3c1369e
Merge pull request #69 from devchat-ai/explain-code
...
Implement explain code workflow
2024-03-08 10:52:18 +08:00
Luo Tim
b903d0fe03
Auto detect language in explain workflow
2024-03-07 10:34:42 +08:00
Luo Tim
f20c258833
Fix key error on explain
2024-03-06 18:06:49 +08:00
Luo Tim
1f541cd4c6
Implement explain code workflow
2024-03-06 09:58:45 +08:00
kagami
84cc241a75
Merge pull request #66 from devchat-ai/feature/add-refactor-workflow
...
Feature: Add Code Refactoring Commands and Utility Script
2024-02-09 11:15:21 +08:00
bobo
91cea1b59c
fix lint error
2024-02-09 11:09:14 +08:00
bobo
62c60a1386
feat: Add refactoring commands and utility script
...
- Introduced command configurations for code rewriting, docstring optimization, and variable renaming.
- Added a Python utility script for code selection and refactoring operations.
- Implemented functionality to interact with IDE services and apply changes.
2024-02-09 11:04:29 +08:00
kagami
d66ada970b
Merge pull request #65 from devchat-ai/feature/empty-string-check-decorator-#242
...
Fix: Chat decorator now avoids inserting empty strings
2024-02-05 14:13:00 +08:00
bobo
9e84e88677
fix: Prevent empty string submission in chat decorator
...
- Added a check to prevent empty strings from being added to the chat
- This ensures no messages with an empty 'content' field are inserted
- Enhances stability and error handling in chat functionality
2024-02-05 12:48:09 +08:00
boob.yang
c6b9ad3e44
Merge pull request #64 from devchat-ai/type-annotation
...
Improve IDE services with type annotation and casting & Add two interfaces
2024-02-04 09:46:50 +08:00
kagami
ef1c9ef3cb
Replace the usage of services functions with IDEService client
2024-02-03 23:43:13 +08:00
kagami
5f1926fcdd
Type casting for returns of ide service
2024-02-03 23:15:52 +08:00
kagami
9efc523577
Implement IDEService class
2024-02-03 22:22:42 +08:00
kagami
2288eb480b
Add type hint for ide services
2024-02-03 00:36:17 +08:00
kagami
c31817f44a
Add type definitions for IDE service
2024-02-03 00:14:37 +08:00
kagami
8d302b1533
Expose get symbols andd find type definitions
2024-02-03 00:13:54 +08:00
boob.yang
82d3fd5055
Merge pull request #63 from devchat-ai/expose-ide-logging
...
Expose ide_logging in ide service
2024-02-02 10:19:36 +08:00
kagami
ea80e1c4a4
Expose ide_logging in ide service
2024-02-02 10:14:32 +08:00
kagami
98e3219bb1
Merge pull request #62 from devchat-ai/api/python-access-raw-vscode-data-#234
...
Implement Python API to Enable Direct Access to Raw VSCode Data
2024-02-01 20:16:50 +08:00
bobo
5a8704a58d
fix lint error
2024-02-01 17:58:23 +08:00
bobo
366b17d092
feat: Add Python API for accessing raw VSCode data
...
- Added vscode_services.py to enable direct access to raw data from VSCode.
- Updated ide_services/services.py to use the new rpc_call function.
- Added vscode_services.py for specific VSCode service functionalities.
2024-02-01 17:46:49 +08:00
kagami
f8d8745231
Merge pull request #61 from devchat-ai/optimize_llm_usage
...
Enhance LLM API with New Features, Refactorings, and Optimizations
2024-01-31 17:11:39 +08:00
bobo
7b6bc1a7bc
Add exception handling decorator to pipeline.py
2024-01-31 16:19:36 +08:00
bobo
7d639f93f4
Refactor llm_api module
2024-01-31 16:15:30 +08:00
bobo
b271a13f66
chore: Optimize LLM API function call handling
...
- Refactored chunks_call to utilize a list of tool calls
- Updated to_dict_content_and_call to handle multiple tool calls
- Enhanced chat_tools to display function call details
2024-01-31 16:14:51 +08:00
bobo
dac115ed32
Refactor llm_api package imports and add new modules
2024-01-31 16:14:51 +08:00
bobo
173fa768e5
Refactor error handling in openai.py
2024-01-31 16:14:51 +08:00
bobo
9a3325469a
feat: Add new LLM API features
...
- Added new chat functionalities for LLM API
- Implemented text confirmation for LLM API
- Updated code for better user interaction
2024-01-31 16:14:51 +08:00
bobo
48b8590ea0
feat: Add new file tools_call.py
...
- Added new file tools_call.py containing functions and decorators
- Implements tool and function schemas for use in the application
- Includes a function to prompt the user to confirm function calls
.
2024-01-31 16:14:51 +08:00
bobo
212537b8a2
chore: Add memory module for LLM API
...
- Added memory module for LLM API
- Implemented ChatMemory and FixSizeChatMemory classes
- Included methods for appending, requesting, and responding to memory
2024-01-31 16:14:51 +08:00
bobo
997c3f86dc
new openai api
2024-01-31 16:14:50 +08:00
bobo
162c545b74
add openai api pipeline.py
2024-01-31 16:14:15 +08:00
bobo
3e93883c4f
feat: Enhance LLM API with new decorators and confirmations
...
- Added new decorators for LLM functions, parameters, and confirmations.
- Introduced confirmation dialogs for calls and edits within LLM interactions.
- Streamlined integration of LLM tool schemas and response handling.
2024-01-31 16:14:15 +08:00
kagami
0b90fe4032
Merge pull request #59 from devchat-ai/handle_openai_apierror
...
Refactor Pipeline Imports and Update Exception Handling in LLM API
2024-01-31 15:23:26 +08:00
bobo
b3c0810e54
Refactor pipeline imports and exception handling
2024-01-31 15:22:19 +08:00
bobo
bde44aa50e
Update exception handling in llm_api/openai.py
2024-01-31 15:22:19 +08:00