1800 Commits

Author SHA1 Message Date
Rankin Zheng
0f45be3604 update(gui): reflect styling changes in the GUI subproject
Update the GUI subproject with a new commit that introduces various styling
improvements. The commit hash has been changed from the previous 34f4b4fc8cb58436c53726c7a9c54f098620cbfc
to the latest 87fb8b5d9d6cd937c449e00218b1777c38ee1ba2, indicating new styling updates.
2024-09-02 16:02:13 +08:00
Rankin Zheng
cb11ec567e Merge branch 'main' into auto_custom_workflow 2024-09-02 15:49:27 +08:00
Rankin Zheng
0f93c39e09 fix(gui): update subproject to latest commit
Upgrade the 'gui' subproject to incorporate recent changes from commit
34f4b4fc8cb58436c53726c7a9c54f098620cbfc, replacing the previous commit
2499ff53123e059d74a32770482ee9dce9d6a010. This update includes various UI
improvements and bug fixes.
2024-09-02 14:54:37 +08:00
Rankin Zheng
682431efdb tools: update subproject to latest commit aac7c21
The tools subproject has been updated from commit dd0bb94 to aac7c21. This change
includes various improvements and bug fixes detailed in the commit history between
the two versions.
2024-09-02 07:35:36 +08:00
Tim
459d6e0996
Merge pull request #590 from devchat-ai/parameterize-packaging
Fix publish scripts
2024-08-29 01:48:00 +08:00
Luo Tim
e9c471d1ba Fix publish scripts 2024-08-29 01:46:04 +08:00
Rankin Zheng
60cc1e376e workflow(update): refresh workflow commands on registration
Update the workflow command list automatically when new workflows are registered
or modified. This ensures the command list displayed to the user is always current
and accurate, eliminating the need for manual refreshes.
2024-08-28 06:50:35 +08:00
Tim
a5e7230c81
Merge pull request #588 from devchat-ai/parameterize-packaging
Fix scripts
2024-08-27 23:17:42 +08:00
Luo Tim
f87cfab2bb Fix scripts 2024-08-27 23:16:48 +08:00
Rankin Zheng
3cf88d64ff chore(submodules): update gui and tools to latest commits
Update gui and tools submodules to their newest versions using the following commits:
- gui: e7dea52c58d9da9dfb47c10dc20d8c35e9fd9837 -> 87c6c104db80991e818b1a9e5ab5ef4bfdb8fcf3
- tools: 0acb8467457b463118465cb067b1216860fd9e6d -> 488bc13fe0ee22dcee6eeafd023147e137a9eddf
2024-08-27 18:29:11 +08:00
Rankin Zheng
3e2ccd5ab2 feat(ide_services): add endpoint for retrieving local service port
Add a new endpoint `/get_local_service_port` to ide_services for obtaining the port
number of the local service. This endpoint utilizes the `getLocalServicePort` function,
which logs the local service port and retrieves it from the environment variable
`DC_LOCALSERVICE_PORT`.
2024-08-27 17:35:23 +08:00
Tim
f6227ce1c1
Merge pull request #587 from devchat-ai/parameterize-packaging
Parameterize packaging
2024-08-27 17:27:05 +08:00
Luo Tim
e0a9f0a56a Update GUI 2024-08-27 17:26:26 +08:00
Luo Tim
7d1588d9c8 Add logs in prebuild script 2024-08-27 17:17:23 +08:00
Luo Tim
9052474d83 Update GUI 2024-08-27 16:51:11 +08:00
Luo Tim
e9fef67bfb Parameterize building on debugging 2024-08-27 16:50:41 +08:00
Luo Tim
6ba62c44bf Support parameterize packaging 2024-08-27 16:49:24 +08:00
Luo Tim
cc35fd3380 Replace assistant names in source 2024-08-27 16:44:49 +08:00
Rankin Zheng
adedbec510 feat(workflow): update custom workflows asynchronously
Modify the workflow update mechanism to include asynchronous updates for custom workflows
in addition to the standard workflows. This ensures that both default and custom workflows
are updated efficiently, improving the overall functionality and user experience within the
DevChat environment.

BREAKING CHANGE: Custom workflow updates now occur asynchronously alongside standard
workflow updates. This may affect downstream systems that rely on synchronous workflow
updates. Systems should now handle the asynchronous nature of custom workflow updates.
2024-08-26 18:31:03 +08:00
boob.yang
6a8393ed9d
Merge pull request #586 from devchat-ai/fix_llm_stream_error
fix: Improve LLM stream handling in devchatComplete function
2024-08-20 10:58:55 +08:00
bobo.yang
fa57ebe527 fix: Improve LLM stream handling in devchatComplete function
- Refactor stream processing for better chunk handling
- Add max_tokens parameter to API payload
- Implement simulated stream receive for testing purposes
2024-08-19 18:29:57 +08:00
boob.yang
c0fe7f15ab
Merge pull request #585 from devchat-ai/fix_openai_workflow_error
fix openai message error in workflow.
2024-07-19 20:12:57 +08:00
bobo.yang
22aa6636f0 fix openai message error in workflow. 2024-07-19 19:41:48 +08:00
boob.yang
aea2d9b7c9
Merge pull request #584 from devchat-ai/update_submodules_240719
Update submodules for tools and workflowsCommands
2024-07-19 13:25:06 +08:00
bobo.yang
ffe9feb73b Update submodules for tools and workflowsCommands 2024-07-19 13:21:41 +08:00
boob.yang
acdfeebfcc
Merge pull request #583 from devchat-ai/optimize_code_completion_240718
feat: Update stop tokens in devchatComplete function
2024-07-18 18:09:17 +08:00
bobo.yang
d272bddf2b feat: Update stop tokens in devchatComplete function
- Remove "```" and "//" from stop tokens list
- Retain "<|endoftext|>", "<|EOT|>", "<file_sep>", "\n\n"
- Adjust code completion behavior for improved results
2024-07-18 17:59:35 +08:00
boob.yang
caad1488c1
Merge pull request #582 from devchat-ai/show_appy_edit_only_on_edits
Show apply edits only when language is edits
2024-07-18 17:32:59 +08:00
bobo.yang
77d9c6e63f show apply edits only when language is etits 2024-07-18 17:09:14 +08:00
boob.yang
2875f583a2
Merge pull request #581 from devchat-ai/add_fix_using_devchat
feat: Add new quick fix option using DevChat
2024-07-18 15:34:24 +08:00
bobo.yang
bd3d9c1ce3 feat: Add new quick fix option using DevChat
- Introduce "Fix using DevChat" as a preferred quick fix action
- Rename existing quick fix command to "Ask DevChat"
- Update package.json and TypeScript files to reflect new commands
2024-07-18 15:28:10 +08:00
boob.yang
ac51fb4cbb
Merge pull request #580 from devchat-ai/add_select_range_service
feat: Add select range functionality
2024-07-18 14:29:26 +08:00
bobo.yang
01555650ef feat: Add select range functionality
- Implement selectRange function in UnofficialEndpoints
- Add select_range endpoint to functionRegistry
- Import vscode module for text editor operations
2024-07-18 14:13:38 +08:00
boob.yang
af2292c065
Merge pull request #579 from devchat-ai/update_tools_240718
Update tools submodule
2024-07-18 10:30:29 +08:00
bobo.yang
f98664813c update tools submodule 2024-07-18 10:27:31 +08:00
boob.yang
19b7d14be9
Merge pull request #577 from devchat-ai/local-svc-client
Devchat local service client
2024-07-18 10:10:23 +08:00
bobo.yang
964a545393 feat: Add local service port check for workflow commands
- Introduce conditional check for DC_LOCALSERVICE_PORT
- Call getWorkflowCommandList if local service port is set
- Enhance handleRegCommandList function with new logic
2024-07-18 07:30:30 +08:00
bobo.yang
741ee9fcbf remove tests out of date 2024-07-16 16:02:27 +08:00
kagami
908b18acc6 Update tools to the latest feature branch 2024-07-16 15:57:52 +08:00
kagami
ca507d7667 Hide service's console on Windows 2024-07-16 15:54:28 +08:00
bobo.yang
05be2b25db feat: Add command to start local service
The code changes include adding a new command to start the local service in the package.json file. This command will allow users to start the local service for DevChat.

Recent repository commits indicate that local service management has been implemented, including start and stop functionality, error handling, and integration tests. The commits also mention the integration of local service port discovery and setup, as well as updating the DevChatClient to use a dynamic port from the environment.

Based on the code changes and recent commits, the suggested commit message is "feat: Add command to start local service".
2024-07-16 07:57:26 +08:00
bobo.yang
dad1f10513 chore: Remove unused endpoint "/get_symbol_defines_in_selected_code" and related code 2024-07-16 07:57:13 +08:00
bobo.yang
3fa139ff91 feat: Add local service management
- Implement start and stop functionality for local service
- Register new command to start local service
- Add error handling for local service shutdown
2024-07-16 07:56:36 +08:00
bobo.yang
a44af269ce feat: Add tests for findServicePort and localService
- Implement unit tests for findAvailablePort function
- Add integration tests for startLocalService and stopLocalService
- Include HTTP request test to verify local service functionality
2024-07-16 07:55:36 +08:00
bobo.yang
99f7a1d4da feat: Implement local service management
- Add local service start/stop functionality
- Integrate local service port discovery and setup
- Update DevChatClient to use dynamic port from environment
2024-07-16 07:55:02 +08:00
kagami
f707bef5fc Handle exception with default return value for devchat client methods 2024-07-11 12:09:01 +08:00
kagami
b663fdcc3f Change some logging message from debug to trace 2024-07-11 10:43:51 +08:00
kagami
0910fbf1ec Remove unnecessary fileds in log related response 2024-07-11 10:38:06 +08:00
kagami
718d2824f0 Update the route of workflows 2024-07-11 10:38:06 +08:00
kagami
feb34588ab Use the inner get/post method 2024-07-11 10:38:06 +08:00