Commit Graph

2326 Commits

Author SHA1 Message Date
王叔叔
f2651ffbbd docs: Update LICENSE (#4723) 2025-04-12 15:31:33 +08:00
1600822305
5d57eb18ea 添加了 TTS 相关服务并更新了设置 2025-04-12 13:46:34 +08:00
1600822305
42ed1a4819 添加了 TTS 相关服务并更新了设置 2025-04-12 12:04:27 +08:00
1600822305
788fb1fc17 添加了 TTS 相关服务并更新了设置 2025-04-12 11:57:00 +08:00
Hao He
061f137100 feat(MessageTools): add error handling and status indicator for tool responses (#4712)
* feat(MessageTools): add error handling and status indicator for tool responses

* feat(i18n): add error message for tool invocation in English, Japanese, and Russian locales
2025-04-12 10:33:14 +08:00
Herio
913783fb7d fix(Messages): 调整ScrollContainer和Container的样式以减少底部空间 2025-04-12 10:28:06 +08:00
LiuVaayne
1558feddbf Feat/mcp support MCP prompt (#4675)
* Add MCP prompt listing and retrieval functionality

* Add generic caching mechanism for MCP service methods

Refactor caching strategy by implementing a higher-order withCache function
to centralize cache logic and reduce code duplication. Separate implementation
details from caching concerns in listTools, listPrompts and getPrompt methods.

# Conflicts:
#	src/main/services/MCPService.ts

* Add MCP prompts listing feature

- Add IPC handlers for listing and getting prompts
- Create UI component to display available prompts in settings tab
- Improve error handling in MCP service methods

* fix(McpService): add error handling for tool and prompt listing methods

* feat(MCPSettings): enhance prompts and tools sections with improved UI and reset functionality

* feat(i18n): add tabs and prompts sections to localization files

* feat(MCPToolsButton): add MCP prompt list functionality to Inputbar

* feat(McpSettings, NpxSearch): improve user feedback with success messages on server addition

* feat(MCPService, MCPToolsButton): enhance prompt handling with caching and improved selection logic

* feat(MCPToolsButton): enhance prompt handling with argument support and error management

---------

Co-authored-by: Teo <cheesen.xu@gmail.com>
2025-04-12 10:27:48 +08:00
robot-AI
287f34d4b9 重构了memory.ts,增加了文件写入锁,解决了并行写入导致记忆文件错误的问题; (#4671)
优化了memory.json文件的加载过程,只加载一次,其它涉及图谱的操作均在内存中完成,提高效率;
注意新引入了async-mutex软件包,需要yarn install安装。
2025-04-11 22:03:57 +08:00
1600822305
b2a0a029d2 添加了 TTS 相关服务并更新了设置 2025-04-11 21:49:47 +08:00
1600822305
db3293bbb4 添加了 TTS 相关服务并更新了设置 2025-04-11 21:03:18 +08:00
1600822305
a7a16272d3 添加了 TTS 相关服务并更新了设置 2025-04-11 20:05:32 +08:00
1600822305
d5cededd8b 添加了 TTS 相关服务并更新了设置 2025-04-11 19:08:51 +08:00
1600822305
8e56f8774f xuf 2025-04-11 19:03:02 +08:00
1600822305
be67580230 添加了 TTS 相关服务并更新了设置 2025-04-11 17:06:39 +08:00
1600822305
80a9ad517e Merge remote-tracking branch 'origin/main' into 1600822305-patch-2 2025-04-11 17:00:07 +08:00
1600822305
6de3c66d36 添加了 TTS 相关服务并更新了设置 2025-04-11 16:56:20 +08:00
1600822305
120282ea87 TTS语音通话功能 2025-04-11 16:02:17 +08:00
kangfenmao
5f73c6419f chore(version): 1.2.2 2025-04-11 14:43:02 +08:00
kangfenmao
fbb6d1422c feat(websearch): initialize subscribeSources in migrateConfig and update WebSearchState interface 2025-04-11 14:42:35 +08:00
Chen Tao
b12c46abe6 fix(llm): rename settingsSlice to llmSlice for clarity (#4688) 2025-04-11 11:32:30 +08:00
kangfenmao
2d298943f9 fix(scripts): update download URLs and default versions for bun and uv binaries 2025-04-11 11:25:37 +08:00
1600822305
a8f18caf0e 修复部分问题 2025-04-11 04:00:42 +08:00
1600822305
4c8751e56f 修复部分问题 2025-04-11 03:53:14 +08:00
1600822305
3ad4de74d5 修复部分问题 2025-04-11 03:50:12 +08:00
1600822305
031f8be2e1 修复zhcn 2025-04-11 03:46:20 +08:00
1600822305
f135bcb60c 修复部分问题 2025-04-11 03:42:16 +08:00
1600822305
f1e0581a32 添加了 语音通话功能 相关服务并更新了设置 2025-04-11 03:37:16 +08:00
1600822305
4b652b418e 123 2025-04-11 00:53:50 +08:00
1600822305
2a42bbe918 Merge branch '1600822305-patch-2' of https://github.com/CherryHQ/cherry-studio into 1600822305-patch-2 2025-04-11 00:44:15 +08:00
1600822305
8e1ebf29b2 添加了 TTS 相关服务并更新了设置 2025-04-11 00:43:13 +08:00
kangfenmao
880d0bdf3c feat(i18n): update subscription terminology in multiple languages for consistency 2025-04-10 22:12:27 +08:00
ousugo
d14c3ae114 refactor(SettingsTab): update reasoning effort change handler to use useCallback for performance optimization 2025-04-10 21:47:14 +08:00
ousugo
72ac708e41 feat(CodeBlock): add tooltips for collapse and copy buttons 2025-04-10 21:47:14 +08:00
ousugo
c417ce70c8 feat(models): add grok-3 support to FUNCTION_CALLING_MODELS 2025-04-10 21:46:48 +08:00
Asurada
3a66f13ff6 feat(xAI): Add support for Grok-3-mini and update reasoning effort logic (#4657)
* feat(models): add grok-3-mini support and update reasoning effort logic in SettingsTab and OpenAIProvider

* feat(settings): update reasoning effort logic for Grok models and enhance localization in multiple languages

* fix(models): correct spelling of reasoning in model support functions

* fix(settings): correct spelling of reasoning_effort in OpenAIProvider
2025-04-10 18:43:20 +08:00
1600822305
4a791222cf Update ASRServerService.ts 2025-04-10 17:54:35 +08:00
1600822305
8e6519d018 Update ASRServerService.ts 2025-04-10 17:48:08 +08:00
1600822305
77bd17515d Update ASRService.ts 2025-04-10 17:47:23 +08:00
1600822305
0f55b92f0e 修复 2025-04-10 17:44:39 +08:00
kangfenmao
97ea0e5a03 refactor(ipc): streamline IPC handler definitions and improve import organization
- Simplified the registration of IPC handlers for the search window by removing unnecessary async/await syntax.
- Improved import organization by removing duplicate import statements for ASRServerService.
2025-04-10 17:38:57 +08:00
Chen Tao
935c771ace feat: support ublacklist subscribe (#2974)
* feat: support ublacklist subscribe

* Merge branch 'main' into feat-ublacklist

* chore

* chore
2025-04-10 17:25:38 +08:00
ousugo
0ec6df2549 refactor(CodeBlock): simplify header layout and adjust CollapseIcon position 2025-04-10 17:22:20 +08:00
LiuVaayne
e342fb9533 Clean up MCPService connections on app quit (#4647)
* Clean up MCPService connections on app quit

* Improve application shutdown error handling
2025-04-10 17:19:02 +08:00
1600822305
73209a4f0a 1 2025-04-10 16:25:48 +08:00
1600822305
5cc7f0de2e 666 2025-04-10 16:20:36 +08:00
1600822305
a6f29cd46c 冲突6666 2025-04-10 16:17:46 +08:00
1600822305
1dec5a3945 ipc 2025-04-10 16:01:28 +08:00
1600822305
4d5a268bca 冲突ipc 2025-04-10 15:58:24 +08:00
kangfenmao
07717d6857 Merge branch 'main' into 1600822305-patch-2
# Conflicts:
#	src/main/ipc.ts
2025-04-10 13:52:15 +08:00
kangfenmao
3059fa230c refactor: Clean up code formatting and improve readability across multiple files
- Standardized code formatting by removing unnecessary line breaks and ensuring consistent use of semicolons.
- Enhanced readability in various components, including ASRButton, TTSButton, and TTSService, by restructuring code blocks and improving indentation.
- Updated comments for clarity and consistency in ASRService and TTSService.
- Adjusted import statements for better organization in several files, including TTSStopButton and ASRSettings.
- Improved the handling of promises and asynchronous functions for better code flow.
2025-04-10 13:48:29 +08:00