1733 Commits

Author SHA1 Message Date
bobo.yang
cfc0bcb8c3 Update GUI submodule commit hash 2024-05-07 18:04:45 +08:00
bobo.yang
470beacf89 fix: Remove DevChat install commands
- Removed DevChat.InstallCommandPython from package.json commands array
- Commented out DevChat.InstallCommandPython execution in statusBarView.ts
- No longer triggers Python command installation in statusBarItem creation
2024-05-07 18:04:23 +08:00
boob.yang
48ddd6aead
Merge pull request #514 from devchat-ai/update_submodule_commit_0507
Update submodules to latest commits
2024-05-07 18:02:57 +08:00
bobo.yang
a221e9536d Update submodules to latest commits 2024-05-07 15:58:28 +08:00
boob.yang
140f4cdc5e
Merge pull request #513 from devchat-ai/feature/add-source-info-to-logs-#369
Enhance Code Completion Context Clarity with Specific Source Information
2024-05-06 14:40:26 +08:00
bobo.yang
3f4ff189dd feat: Update model reference and enhance context clarity
- Updated the language model in code completion to starcoder2:15b for improved performance.
- Overhauled prompt creation to include 'recent edit documents', 'task', 'call function define', 'similar blocks', and 'symbol defines' for better context recognition in logs.
- Ensured fallback to 'nvidia/starcoder2:15b' if no model is specified, enhancing reliability.
2024-05-06 14:03:13 +08:00
boob.yang
21e14b054c
Merge pull request #512 from devchat-ai/bugfix/nvidia-parsing-under-poor-connection-#367
Improve NVIDIA Message Parsing Resilience in Poor Network Conditions
2024-04-29 17:08:46 +08:00
bobo.yang
a28132f252 fix: Improve NVIDIA parsing under poor connections
- Enhanced parsing logic to handle multiple messages in one go
- Added splitting of incoming data chunks before processing
- Implemented more robust error handling for JSON parsing
2024-04-29 16:36:37 +08:00
boob.yang
6f5a56ae6b
Merge pull request #511 from devchat-ai/update_gui_commit_240429
Update GUI Submodule Commit Hash
2024-04-29 12:52:33 +08:00
bobo.yang
fe3540ab57 Update gui submodule commit hash 2024-04-29 12:51:04 +08:00
boob.yang
32ac9aef53
Merge pull request #510 from devchat-ai/optimization/speedup-devchat-init-#366
Refactor: Eliminate installation check from devchat-commands
2024-04-29 00:02:59 +08:00
bobo.yang
13eaac2953 refactor: Remove installation check process from devchat-commands
- Remove unnecessary installation check codes from devchat-commands
- Streamline setup process for new users
- Maintain application functionality and stability
2024-04-28 23:49:04 +08:00
boob.yang
63ae50a819
Merge pull request #509 from devchat-ai/feature/optimize-code-completion-devchat-#365
Optimize devchat code completion to automatically use configured server
2024-04-28 23:27:27 +08:00
bobo.yang
81e819255e Update tools submodule commit hash 2024-04-28 23:23:58 +08:00
bobo.yang
b17883c0c5 feat: Optimize devchat code completion config
- Refactor devchat API configuration for clarity and consistency
- Ensure code completion fallbacks to devchat when configured
- Streamline the process for activating devchat server code completion
2024-04-28 23:21:57 +08:00
Rankin Zheng
f95d0c6c5b update gui version 2024-04-28 22:36:54 +08:00
Rankin Zheng
1307b5ef90 feat: merge creation file feature 2024-04-28 22:36:28 +08:00
Rankin Zheng
2f03088214 Update gui version 2024-04-28 22:34:35 +08:00
Rankin Zheng
a6e6400ca5 Update gui version 2024-04-28 22:34:35 +08:00
boob.yang
3e1085d73d
Merge pull request #506 from devchat-ai/fix/screen-flicker-autocomplete-#362
Fix Screen Flickering Issue During Code Autocompletion
2024-04-28 16:30:26 +08:00
bobo.yang
0f63d2771f fix: Optimize autocomplete to prevent screen flicker
- Added a preCompletionItem to hold the current autocomplete item
- Refactored how autocomplete items are returned to prevent flickering
- Improved logic to combine current line prefix and response code effectively
2024-04-28 16:27:52 +08:00
boob.yang
ddc4396f39
Merge pull request #505 from devchat-ai/feature/ai-code-completion-devchat-#358
Feat: Introduce DevChat API Integration for Enhanced Code Completion
2024-04-23 18:14:02 +08:00
bobo.yang
e33559e9a2 feat: Integrate DevChat API for code completion
- Add support for DevChat API as a code completion source
- Implement dynamic model selection for code completions
- Introduce error handling and logging for DevChat API requests
2024-04-23 18:05:20 +08:00
boob.yang
782a3e1a93
Merge pull request #503 from devchat-ai/update_tools_submodule_240422
Update subproject commit hash in tools submodule
2024-04-22 09:59:01 +08:00
bobo.yang
6a7e47586c Update subproject commit hash in tools submodule 2024-04-22 09:56:26 +08:00
boob.yang
0ea20c5fed
Merge pull request #502 from devchat-ai/feature/optimize-code-completion-filtering-#353
Implement enhanced filtering for code completion to optimize performance
2024-04-21 17:08:09 +08:00
bobo.yang
5ca6a71852 feat: Enhance code completion filtering logic
- Implemented filtering based on comment symbols followed by filenames
- Added filtering for comments indicating omitted code sections
- Adjusted prefix gathering for inline completion to consider previous lines
2024-04-21 17:01:07 +08:00
boob.yang
2ed9698d35
Merge pull request #501 from devchat-ai/feature/bilingual-quick-fix-support-#351
Add Bilingual Support for Quick Fix Prompts in VSCode Plugin
2024-04-18 12:00:22 +08:00
bobo.yang
741aa60efe feat: Add bilingual support for Quick Fix prompts
- Refactored delay in Quick Fix activation to a dedicated function
- Implemented language-specific prompt generation in Quick Fixes
- Added Chinese language support alongside English for Quick Fix guidance
2024-04-18 11:57:46 +08:00
boob.yang
e477fac909
Merge pull request #500 from devchat-ai/bugfix/vscode-devchat-rendering-#347
Fix initialization issue when Devchat is not previously installed in VSCode
2024-04-18 11:05:25 +08:00
bobo.yang
1a7eadb2da Update subproject commit hash in gui 2024-04-18 11:02:14 +08:00
bobo.yang
1814e75b69 fix: Ensure config file creation and parsing for devchat
- Add check for config file existence and create if not present
- Ensure config file is parsed to an object even if empty
- Refactor config and value setting logic for clarity and stability

Closes #347
2024-04-18 11:01:56 +08:00
boob.yang
d485d19ea1
Merge pull request #499 from devchat-ai/update_tools_submodule_240417
Update subproject commit hash in tools
2024-04-17 22:37:21 +08:00
bobo.yang
a46c87df4b Update subproject commit hash in tools 2024-04-17 22:32:55 +08:00
boob.yang
8f1dbcef60
Merge pull request #498 from devchat-ai/feature/ai-powered-quick-fixes-#345
Implement AI-Powered Quick Fix for VSCode Plugin
2024-04-17 20:28:21 +08:00
bobo.yang
d50aa4b1b4 feat: AI-Powered Quick Fix Integration
- 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
2024-04-17 19:42:56 +08:00
boob.yang
af730793bd
Merge pull request #497 from devchat-ai/support_models_from_other_providers
Update subproject commit hash in GUI
2024-04-17 15:10:34 +08:00
bobo.yang
ada651e00d Update subproject commit hash in gui 2024-04-17 15:07:24 +08:00
boob.yang
da8b56884b
Merge pull request #496 from devchat-ai/use_selected_models_for_ut
Enable Use of Specific Models in Unit Tests for Consistency
2024-04-17 09:12:21 +08:00
bobo.yang
eb329a2928 feat: Enable specific model use in unit tests
- Added environment variable to utilize selected model for unit tests
- Ensures consistency in testing with production models
- Improves reliability of tests by using configured model data
2024-04-17 09:10:58 +08:00
boob.yang
b6d4aed4b6
Merge pull request #495 from devchat-ai/enhancement/coder-model-switching-#342
Add support for switching between Nvidia Starcoder and Ollama Deepseek models
2024-04-17 00:16:20 +08:00
bobo.yang
2b505b5536 Refactor DevChatConfig instantiation to use getInstance() method 2024-04-17 00:07:09 +08:00
boob.yang
da336b61ba
Merge pull request #494 from devchat-ai/fix_addition_line_show_in_code_completion
Fix: Improve line filtering logic for better code completion
2024-04-16 09:45:56 +08:00
bobo.yang
e3eff72c43 fix: Improve line filtering in code completion
- Adjusted the condition to yield chunks only if not starting with certain characters
- Ensured that empty lines or lines starting with ), ], or } are excluded
- Optimized chunk filtering logic for better code completion accuracy
2024-04-16 09:40:54 +08:00
boob.yang
ff7d63539c
Merge pull request #493 from devchat-ai/bugfix/symbol-selection-no-suggestions-#333
Fix code completion for symbol selection widget
2024-04-16 09:05:05 +08:00
bobo.yang
ab2612a511 fix: Improve symbol selection code suggestions
- Commented out the check blocking suggestions for selected symbols
- Ensured code suggestions now appear during symbol selection
- Adjusted inline completion behavior to optimize user flow
2024-04-16 09:00:59 +08:00
boob.yang
f634f797d1
Merge pull request #492 from devchat-ai/enhancement/prevent-duplicate-completions-#332
Optimize code completion to prevent duplicates
2024-04-16 08:47:37 +08:00
bobo.yang
b1076f0400 feat: Prevent duplicate code completions
- Implemented logic to reuse the previous code completion result if the
new prefix matches it, reducing redundant computations.
- Added tracking for the previous code completion result and prefix to
improve user experience by preventing unnecessary triggers.
- Adjusted code completion logic to determine when to fetch new suggestions
or reuse existing ones, optimizing performance.
2024-04-16 08:43:46 +08:00
boob.yang
d6d5aaf51d
Merge pull request #486 from devchat-ai/feature/code-block-file-creation
Enhanced file creation and added tests for codeBlockHandler
2024-04-15 22:58:11 +08:00
bobo.yang
126bd74fd1 Update subproject commit reference in gui 2024-04-15 22:55:18 +08:00