1784 Commits

Author SHA1 Message Date
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
kagami
6386cc4231 Enable decorators 2024-07-11 10:38:06 +08:00
kagami
f421bcae56 Add the following TODOs 2024-07-11 10:38:06 +08:00
kagami
7551a55ce6 Handle large log data 2024-07-11 10:38:06 +08:00
kagami
6eb7f1f408 Get workflows info via client 2024-07-11 10:38:06 +08:00
kagami
8becdb00aa Update workflows via client 2024-07-11 10:38:05 +08:00
kagami
b9df28d20d Get and delete topics via client 2024-07-11 10:38:05 +08:00
kagami
bebe32fa18 Get logs of a topic via client 2024-07-11 10:38:05 +08:00
kagami
84ef68c500 Delete log via client 2024-07-11 10:38:05 +08:00
kagami
2be88bd9ad Use devchat client & cli for chatting and workflow respectively 2024-07-11 10:38:05 +08:00
kagami
d1f712ff90 Init DevChatClient and DevChatCLI 2024-07-11 10:38:05 +08:00
boob.yang
1110171074
Merge pull request #578 from devchat-ai/update_submodule_240709
Refactor subproject commit in GUI and tools
2024-07-09 13:19:45 +08:00
bobo.yang
648220deb0 Refactor subproject commit in gui and tools 2024-07-09 13:15:42 +08:00
boob.yang
7ab27f77c8
Merge pull request #576 from devchat-ai/support_edit_apply_action
feat: Add code editing, diff display, and CORS support
2024-07-04 21:53:17 +08:00
bobo.yang
4739b90d56 update tools 2024-07-04 21:48:43 +08:00
bobo.yang
71778df267 feat: Add code editing and diff display functionality
- Implement applyDiffToCode function for code editing
- Add getCodeEditorPath to locate platform-specific binaries
- Integrate new functionality with existing diff display system
2024-07-04 21:48:01 +08:00
bobo.yang
6e72521142 feat: Handle OPTIONS requests for CORS support
- Add handling for OPTIONS requests in RPC server
- Return 200 status with JSON response for OPTIONS
- Update diffApply function keys to include "autoedit"
2024-07-04 21:45:45 +08:00