1784 Commits

Author SHA1 Message Date
bobo.yang
33a4ee14f1 refactor: Remove usage of deprecated contexts and APIs
- 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
2024-03-10 16:35:10 +08:00
bobo.yang
70ea72fabe refactor: Optimize file content retrieval
- Removed redundant getFileContent function from diffHandler
- Centralized getFileContent into commonUtil for shared usage
- Adjusted imports in devchat to reflect the new location
2024-03-10 16:34:07 +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
小石头
ed04737f6c
Merge pull request #462 from devchat-ai/feat/explain
Feat/explain
2024-03-08 16:14:05 +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
boob.yang
0689beeba8
Merge pull request #461 from devchat-ai/hotfix/vscode-compat-init-fail-#280
Fix Plugin Initialization for Non-existent Model Data
2024-03-02 13:13:16 +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
kagami
46375991f0
Merge pull request #460 from devchat-ai/find-defs
Implement /find_def_locations in IDE Service
2024-02-27 16:31:00 +08:00
kagami
ed8a3779d3 Implement /find_def_locations in IDE Service 2024-02-27 16:14:01 +08:00
boob.yang
14cb991122
Merge pull request #459 from devchat-ai/update_tools_commit_02262
Update subproject commit hash
2024-02-26 15:35:47 +08:00
bobo.yang
96e3076a0f Update subproject commit hash 2024-02-26 15:32:54 +08:00
boob.yang
8b97d7b5e2
Merge pull request #458 from devchat-ai/update_tools_commit_0226
Update subproject commit reference
2024-02-26 14:16:21 +08:00
bobo.yang
43d56aa727 Update subproject commit reference 2024-02-26 14:05:05 +08:00
Rankin Zheng
b1ca176889
Merge pull request #457 from devchat-ai/chore/add-code-comments-#275
Improve Code Documentation for Better Readability
2024-02-23 13:04:32 +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
boob.yang
d44efd3e92
Merge pull request #456 from devchat-ai/fix/trim-key-whitespace-#265
Fix: Trim whitespace from OPENAI_API_KEY to prevent misleading 'APIConnectionError'
2024-02-18 21:00:48 +08:00
bobo.yang
98423e2ad3 fix: Trim API key whitespace
- 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
2024-02-18 20:51:01 +08:00
boob.yang
3c4d261002
Merge pull request #455 from devchat-ai/hotfix/windows-launch-permissions-#264
Fix launch issue without admin permissions on Windows
2024-02-18 16:35:39 +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
boob.yang
d25b16b6ef
Merge pull request #454 from devchat-ai/bugfix/devchat-subprocess-cleanup-#258
Fix: Terminate Devchat Subprocesses After Closing VS Code
2024-02-09 09:56:28 +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
boob.yang
dc58a93bed
Merge pull request #453 from devchat-ai/enhancement/combine-insert-retrieve-steps-#256
Streamline Log Insertion by Combining Insert and Retrieve Actions
2024-02-09 09:34:09 +08:00
bobo.yang
9ed798e1e1 feat: Streamline DevChat log insertion and retrieval
- 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
2024-02-09 09:31:38 +08:00
boob.yang
66aa1144fb
Merge pull request #452 from devchat-ai/update_gui_commit_240209
Update GUI Subproject Commit
2024-02-09 09:24:48 +08:00
bobo.yang
a89d8173ab Update gui subproject commit 2024-02-09 09:17:07 +08:00
boob.yang
7a1d69ed69
Merge pull request #451 from devchat-ai/bugfix/case-sensitivity-patch-failure-#255
Fix Windows File Path Case Sensitivity Issue in Patch Application
2024-02-08 21:01:03 +08:00
bobo.yang
9dcc0220d9 fix: Normalize file path case for pairing
- 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
2024-02-08 20:53:21 +08:00
boob.yang
86966af293
Merge pull request #450 from devchat-ai/update_devchat_packages_in_tools
Update devchat to latest package version
2024-02-08 15:16:53 +08:00
bobo.yang
bedf056cab sync devchat lastest package 2024-02-08 13:20:07 +08:00
boob.yang
d4dc9b54d0
Merge pull request #449 from devchat-ai/feature/add-ideName-interface
feat: Implement /ide_name endpoint to retrieve IDE name
2024-02-08 13:14:44 +08:00
bobo.yang
e52188815e feat: Add /ide_name endpoint to services
- 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
2024-02-08 13:11:21 +08:00
boob.yang
07a5f5d312
Merge pull request #448 from devchat-ai/update_gui_commit_240208
Update Subproject Commit Reference
2024-02-08 11:47:03 +08:00
bobo.yang
a73117e1b5 Update subproject commit reference 2024-02-08 11:42:14 +08:00
boob.yang
f1aee92ca9
Merge pull request #447 from devchat-ai/feature/devchat-shortcut-focus-#250
Add Keyboard Shortcut for Focusing on DevChat Input
2024-02-07 17:43:29 +08:00
bobo.yang
d87b7c5801 feat: Implement shortcut for DevChat input focus
- Added keybindings for DevChat input focus shortcut
- Implemented focusHandler to focus on DevChat input upon shortcut
2024-02-07 17:37:02 +08:00
bobo.yang
2ea5226ad2 Update GUI subproject commit 2024-02-07 17:35:06 +08:00
bobo.yang
bfb4edff2b Update GUI subproject commit 2024-02-07 17:22:32 +08:00
boob.yang
ad76c5026a
Merge pull request #446 from devchat-ai/feature/set-default-model-params-#248
Implement Default Model Parameters in VSCode Settings
2024-02-06 11:41: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
boob.yang
e054d431d5
Merge pull request #445 from devchat-ai/update_gui_commit_240206
Update subproject commit hash
2024-02-06 11:08:27 +08:00
bobo.yang
0a2f51a74a Update subproject commit hash 2024-02-06 11:05:39 +08:00
boob.yang
793c7bd248
Merge pull request #444 from devchat-ai/feature/remove-api_seret-from-model-config
feat: Remove api_secret attribute from model config
2024-02-06 09:28:18 +08:00
bobo.yang
0e37167a32 feat: Remove api_secret from model config
- 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
2024-02-06 09:23:21 +08:00
boob.yang
111a3f4769
Merge pull request #443 from devchat-ai/refactor/remove-topicView-#244
Refactor: Clean up obsolete code post-TopicView-to-webview migration
2024-02-05 16:35:58 +08:00
bobo.yang
c645888c2b Remove topicManager.test.ts 2024-02-05 16:30:27 +08:00
bobo.yang
4697eba908 refactor: Remove deprecated topicView components
- 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
2024-02-05 16:30:02 +08:00
bobo.yang
dd01e78da4 refactor: Remove legacy TopicView components
- Deleted obsolete TopicManager & TopicTreeDataProvider classes
- Cleaned up Topic related logic across several modules
- Replaced TopicManager usage with new methods after webview migration
2024-02-05 16:29:00 +08:00
boob.yang
6b31dbe16d
Merge pull request #442 from devchat-ai/update_workflows_commit_240205
Update subproject commit hash
2024-02-05 15:38:36 +08:00
bobo.yang
1cff605e51 Update subproject commit hash 2024-02-05 15:24:16 +08:00