- 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
- Trim leading/trailing whitespace from OPENAI_API_KEY
- Prevent misleading 'APIConnectionError' due to key format
- Ensure API keys are in a valid format before network requests
Closes#265
- 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
- Combine log insertion and retrieval steps into a single action
- Modify logInsert method to return an array of LogEntry objects
- Ensure backward compatibility by adapting existing code to new returns
- Convert file1 and file2 to lowercase before adding to filePairs
- Look up file pairs using lowercase file paths
- This addresses case sensitivity issues in file path on Windows
- Added a new endpoint /ide_name to return the IDE name
- Implemented handler to return hardcoded "vscode" as the IDE name
- Moved "/diff_apply" endpoint definition within functionRegistry
- 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
- Removed api_secret attribute from package.json
- Ensured no default or descriptions remained for api_secret
- API secrets should be managed via environment variables or secrets manager
- Deleted old topicView.ts as part of phasing out the view
- Removed the associated topicManager.ts which exclusively served topicView
- This commit will clean up the code after full transition to webview
- Deleted obsolete TopicManager & TopicTreeDataProvider classes
- Cleaned up Topic related logic across several modules
- Replaced TopicManager usage with new methods after webview migration