- 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
- Ensure defaultModelConfig["api_base"] is set for devchat
- Set default API base to "https://api.devchat.ai/v1" if undefined
- This addresses configuration uniformity and maintenance
- Added fs, os imports and promisify for async file reading
- Implemented async method to load and parse the configuration file
- Extended CommandEntry interface and adjusted command logic to include recommendations
- Added a check to prevent sending a new command if one is already in progress
- Utilized UiUtilWrapper to display an error message when a second command is attempted
- Ensured that the check is reset after the command execution completes
- Ensured selection range now includes the last line
- Fixed an issue causing line duplication during refactoring
- Improves accuracy for function extraction in docstrings
- Comment out mocha imports in various tests to prep for new test strategy
- Replace `before` with `beforeEach` and `after` with `afterEach` for consistency
- Remove deprecated `commandsBase.test.ts` and `dtm.test.ts` files to reflect focus on new functionality
- Comment out refDefsContext and defRefsContext usage in loadContexts
- Replace accessKey logic with defaultModel in several files
- Remove unused functions related to API key handling
Closes#286
- Removed redundant getFileContent function from diffHandler
- Centralized getFileContent into commonUtil for shared usage
- Adjusted imports in devchat to reflect the new location
- 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