99 Commits

Author SHA1 Message Date
Luo Tim
cc35fd3380 Replace assistant names in source 2024-08-27 16:44:49 +08:00
bobo.yang
3fa139ff91 feat: Add local service management
- Implement start and stop functionality for local service
- Register new command to start local service
- Add error handling for local service shutdown
2024-07-16 07:56:36 +08:00
bobo.yang
3589d497f1 fix: Remove default model configuration
- Removed the code that sets the default model in the configuration
- This change is to address the issue where the default model was being incorrectly set
- Simplified the configuration migration process by removing unnecessary steps
2024-06-17 21:14:31 +08:00
bobo.yang
87178d1e5e chore: Update logger.trace calls to improve code readability 2024-05-18 15:12:32 +08:00
bobo.yang
214976d4e9 fix: Resolve illegal API base error for custom devchat API base
- Fix devchat API base URL to prevent illegal API base error
- Set default API base URL to https://api.devchat.ai/v1
- Call fixDevChatApiBase function in activate method
2024-05-15 13:49:17 +08:00
bobo.yang
13eaac2953 refactor: Remove installation check process from devchat-commands
- Remove unnecessary installation check codes from devchat-commands
- Streamline setup process for new users
- Maintain application functionality and stability
2024-04-28 23:49:04 +08:00
bobo.yang
d50aa4b1b4 feat: AI-Powered Quick Fix Integration
- Implemented a new Quick Fix command in commands.ts and package.json
- Added the collapseFileExcludeSelectRange function for code analysis
- Registered the Quick Fix provider to suggest fixes via AI analysis
2024-04-17 19:42:56 +08:00
bobo.yang
2b505b5536 Refactor DevChatConfig instantiation to use getInstance() method 2024-04-17 00:07:09 +08:00
bobo.yang
e5b6320ecd Find similar code blocks 2024-04-12 15:29:29 +08:00
bobo.yang
4907715d56 Add code complete functionality 2024-04-08 22:10:56 +08:00
bobo.yang
9924472c1a stage changes 2024-04-08 22:10:56 +08:00
bobo.yang
ca3bea9bd8 Remove unused code and commands registration 2024-04-01 17:15:44 +08:00
bobo.yang
40d0fa502b feat: Enhance config management in VSCode plugin
- Refactor to use a single instance of DevChatConfig for efficiency
- Update regInMessage and regOutMessage functions for better flexibility
- Implement new getters and setters in DevChatConfig to handle complex keys
2024-04-01 17:15:44 +08:00
bobo.yang
c52c4339e0 save work 2024-04-01 17:15:44 +08:00
小石头
dda0ec3207 Update Devchat commands and titles 2024-03-12 21:20:03 +08:00
bobo.yang
655a9e52f8 feat: Integrate Claude3 models into vscode extension
- Updated package.json to include support for claude-3 models
- Removed references to claude-2 models in extension and ApiKeyManager
- Added API functionality and configured default settings for new models
2024-03-10 16:32:16 +08:00
小石头
5be13ca16c Update DevChat commands and add comment generation 2024-03-08 16:11:57 +08:00
小石头
19b1280222 Update submodules in gui and workflowsCommands 2024-03-07 18:50:38 +08:00
bobo.yang
8b020ec700 fix: Handle VSCode initialization failure gracefully
- Wrap configuration update calls in try-catch to catch and log errors
- Ensure plugin initialization continues despite non-existent model data
- Log errors using `logger.channel()` for easier debugging and monitoring
2024-03-02 13:10:42 +08:00
Rankin Zheng
d07a8e0c86 chore: Add comments to improve code readability
- Added detailed comments to the isProviderHasSetted function to enhance understandability.
- Ensured comments include a brief description and the return type expectation.
- Aimed to address feedback on code documentation for better maintenance.

Closes #275
2024-02-23 13:02:43 +08:00
bobo.yang
a6cc1b8221 fix: Improve config checks to prevent launch failures
- Added null checks to configuration retrieval to prevent failures
- Ensured default configurations are provided for missing settings
- Modified activation sequence to prevent errors with uninitiated UI utils
2024-02-18 16:33:07 +08:00
bobo.yang
2e607f3bad fix: Ensure devchat subprocesses terminate on IDE close
- Added a deactivate function to handle IDE shutdown events
- Utilize stopDevChatBase to terminate devchat subprocesses
- Included necessary import for the constants module
2024-02-09 09:54:03 +08:00
bobo.yang
2bd5d3ebf8 feat: Implement model default parameter settings
- Define model specific max_input_tokens to prevent overflow errors
- Ensure default token limits are set for each model configuration
- Integrate the default parameter setup within the activation process
2024-02-06 11:31:44 +08:00
bobo.yang
81c0e8be73 refactor: Simplify topic interaction in UI
- Remove topic-related views, commands, and handlers from the codebase
- Refactor code to align with the new unified topic interaction method
- Streamline UI by eliminating unnecessary elements and consolidating views
2024-02-05 11:19:01 +08:00
bobo.yang
0f36d8a855 feat: Add support for new LLM models in VSCode plugin
- Add Model.CodeLlama-70b config settings support
- Implement Model.Mixtral-8x7B and Model.Minimax-abab6 support
- Modify UI and API integration to facilitate new model selections
2024-02-05 11:12:03 +08:00
bobo.yang
59ad9088cd feat: Update devchat-api with latest LLMs
- Remove deprecated 1106 and 16k GPT-3.5 model configs
- Update GPT-3.5 config to latest stable version
- Update Claude, Xinghuo, GLM, ERNIEbot to latest versions
- Adjust default model to Claude 2.1
- Validate and test latest model integrations
2024-02-01 22:39:56 +08:00
Rankin Zheng
73a3acc531
Merge pull request #416 from devchat-ai/feat/uri
Feat/uri
2024-01-24 18:03:34 +08:00
bobo.yang
181fe2ea2a fix: Resolve command execution error in DevChat
- Reordered the registration of CodeLens provider for correctness
2024-01-23 16:09:17 +08:00
smallstone
f2ab969f88 Add registerHandleUri command 2024-01-18 17:52:55 +08:00
bobo.yang
20677fc074 remove invliad model fields 2023-12-28 11:41:31 +08:00
bobo.yang
b734c69d61 set lang config default value 2023-12-27 16:15:39 +08:00
bobo.yang
36a16ccd43 add code lens 2023-12-12 16:39:08 +08:00
bobo.yang
b1af136111 optimize start up for devchat-view 2023-11-30 13:25:18 +08:00
bobo.yang
dc1836510d remove command and action extension 2023-11-29 23:34:15 +08:00
bobo.yang
40e6efef8a clear Command python install functions 2023-11-23 13:02:02 +08:00
bobo.yang
705db54231 support gpt-3.5-turbo-1106 model 2023-11-15 10:09:24 +08:00
bobo.yang
077aeec080 support gpt-4-turbo model 2023-11-14 17:29:54 +08:00
bobo.yang
60906f9509 fix invalid key error 2023-10-26 22:45:31 +08:00
bobo.yang
18e58c53ae remove ask-code icon from status bar 2023-10-12 21:17:41 +08:00
bobo.yang
b4e3f24fdb support code llama model 2023-10-09 08:42:55 +08:00
bobo.yang
d26a446547 support code llama model and starcoder model 2023-10-09 08:42:55 +08:00
bobo.yang
5a25cefbe1 Fix key not found issue 2023-10-09 08:12:51 +08:00
bobo.yang
86f21ef03e support more llm models 2023-09-26 14:46:14 +08:00
bobo.yang
21b07f44db update api key setting 2023-09-22 23:08:19 +08:00
bobo.yang
3d1229784f set claude-2 as default model 2023-09-15 13:28:17 +08:00
bobo.yang
452e8c3757 load api key from command secret and env 2023-09-14 20:17:55 +08:00
bobo.yang
0b4e2c25ed fix getUserAccessKey error 2023-09-14 16:44:41 +08:00
bobo.yang
a2699cfa64 set default model for first install devchat 2023-09-14 16:44:41 +08:00
bobo.yang
78804f3386 add sample config to guide how to config devchat 2023-09-13 10:08:16 +08:00
bobo.yang
dd1bef5539 Add function to update configuration for version 0.9.12
- Added a new function `configUpdateTo_0912` to update the configuration for the 'devchat' extension.
- The function retrieves the 'DevChat', 'Api_Key_OpenAI', and 'API_ENDPOINT' configurations and creates a new configuration object.
- If the 'Model.gpt-4' configuration does not exist and the new configuration object is not empty, it updates the 'Model.gpt-3-5', 'Model.gpt-3-5-16k', and 'Model.gpt-4' configurations.
- The function is called during the activation of the extension.
2023-09-13 10:08:16 +08:00