1517 Commits

Author SHA1 Message Date
bobo.yang
e007feabe5 Add recommend property to Command interface 2024-04-01 17:18:24 +08:00
小石头
4cd54e901a Update subproject commits in gui and workflowsCommands 2024-04-01 17:18:18 +08:00
bobo.yang
ca3bea9bd8 Remove unused code and commands registration 2024-04-01 17:15:44 +08:00
bobo.yang
caa386904c Refactor configHandler.ts to handle empty and wildcard keys 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
0a340a8409 Fix typo in DevChatConfig key 2024-04-01 17:15:44 +08:00
bobo.yang
2915634ec6 feat: Default API base for devchat config
- 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
2024-04-01 17:15:44 +08:00
bobo.yang
c52c4339e0 save work 2024-04-01 17:15:44 +08:00
boob.yang
8cf7147b11
Merge pull request #471 from devchat-ai/update_workflows_commit_240401
Update subproject commit hash
2024-04-01 17:12:42 +08:00
bobo.yang
ecf1c43ff3 Update subproject commit hash 2024-04-01 17:09:11 +08:00
Rankin Zheng
eaeebf720a feat: update workflow command 2024-03-30 00:48:55 +08:00
boob.yang
ca12258d4e
Merge pull request #469 from devchat-ai/ui/add-recommended-workflow-presentation-#305
Feat: Display Recommended Workflows in VSCode Plugin
2024-03-27 10:26:11 +08:00
bobo.yang
bba9b723f1 Refactor recommendCommands assignment in DevChat class 2024-03-27 08:54:22 +08:00
boob.yang
bd9c03b8a2
Merge pull request #470 from devchat-ai/update_tools_submodule_commit_0326
Update Subproject Commit Hash
2024-03-26 17:34:08 +08:00
bobo.yang
ccff4d6c8d Update subproject commit hash 2024-03-26 17:31:51 +08:00
bobo.yang
45872ed887 Add recommend property to CommandEntry interface 2024-03-26 16:33:34 +08:00
bobo.yang
3473b3ced9 Fix JSON parsing error in DevChat class 2024-03-26 16:33:25 +08:00
bobo.yang
3c7f7a2479 Refactor file reading to use fs.promises.readFile 2024-03-26 16:29:00 +08:00
bobo.yang
6d43aa75ab Update error logging in DevChat class 2024-03-26 16:26:35 +08:00
bobo.yang
63d55709a2 Fix typo in CommandEntry's recommend field 2024-03-26 16:24:54 +08:00
bobo.yang
2734ff3388 Add @iarna/toml dependency to package.json 2024-03-26 16:18:59 +08:00
bobo.yang
7c03eb81da feat: Integrate recommended workflows display
- 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
2024-03-26 16:18:03 +08:00
boob.yang
2a5fb709fb
Merge pull request #467 from devchat-ai/bugfix/chat-output-jumble-#293
Fix output disruption by preventing duplicate chat command execution
2024-03-15 11:51:15 +08:00
bobo.yang
0a74fd6dd5 fix: Prevent duplicate chat command execution
- 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
2024-03-15 11:47:02 +08:00
小石头
a32930b98c
Merge pull request #466 from devchat-ai/feat/fix-workflow
Feat/fix workflow
2024-03-14 23:10:41 +08:00
小石头
1ecf282883 Update subproject commit hash 2024-03-14 23:07:02 +08:00
小石头
7e64e1e234 Fix typo in objectName value 2024-03-14 23:06:34 +08:00
小石头
c9146b9fd3
Merge pull request #465 from devchat-ai/feat/fix-workflow
Update Devchat commands and titles
2024-03-12 21:23:06 +08:00
小石头
dda0ec3207 Update Devchat commands and titles 2024-03-12 21:20:03 +08:00
boob.yang
78aa781dc9
Merge pull request #464 from devchat-ai/refactor/selection-range-adjustment-#291
Fix Docstring Function Selection Range to Include Last Line
2024-03-12 16:52:07 +08:00
bobo.yang
fa03786854 refactor: Adjust selection range for function docstrings
- Ensured selection range now includes the last line
- Fixed an issue causing line duplication during refactoring
- Improves accuracy for function extraction in docstrings
2024-03-12 16:49:21 +08:00
boob.yang
17d7a305bf
Merge pull request #463 from devchat-ai/enhancement/devchat-vscode-claude3-integration-#286
Feature: Integrate Claude3 Support in DevChat VSCode Extension
2024-03-12 13:31:27 +08:00
bobo.yang
b2bd118e33 feat: Update tests and remove deprecated tests for Claude3 integration
- 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
2024-03-10 16:36:28 +08:00
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