- Implement start and stop functionality for local service
- Register new command to start local service
- Add error handling for local service shutdown
- 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
- 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
- Remove unnecessary installation check codes from devchat-commands
- Streamline setup process for new users
- Maintain application functionality and stability
- 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
- 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
- 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
- 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
- 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
- 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
- Added a deactivate function to handle IDE shutdown events
- Utilize stopDevChatBase to terminate devchat subprocesses
- Included necessary import for the constants module
- 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
- 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
- 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
- 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
- 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.