方程
1c7e6b979a
feat: add gitee ai provider ( #1473 )
...
* feat: add gitee ai provider
* feat: add gitee ai provider
---------
Co-authored-by: 方程 <fangcheng@oschina.cn>
2025-02-12 14:11:13 +08:00
亢奋猫
387393555a
feat: 🎸 使用@呼出模型选择列表 #1317 #1324 ( #1458 )
...
* feat: 🎸 使用@呼出模型选择列表
输入第一个字符为@符号的时候可以呼出选择模型的列表
* feat: 🎸 Only one can be chosen at a time
一次只能选择一个模型,选择后自动关闭。选择过的模型不在出现在列表,避免删除模型的时候显示异常。
* fix: 🐛 When choosing the model, Enter will send a message
* feat: 🎸 选中的模型显示供应商
* feat: 🎸 pinned module show privoder
* feat: 🎸 only selected modle show provider
* feat: 🎸 删除@符号以后自动关闭
* feat: 🎸 增加模糊搜索
---------
Co-authored-by: duanyongcheng77 <duanyongcheng77@gmail.com>
2025-02-12 14:08:18 +08:00
牡丹凤凰
1d960993c7
Update embedings.ts
2025-02-12 08:31:00 +08:00
牡丹凤凰
43dc4e85a7
Update zh-tw.json
...
更正繁体中文当中关于Temperature的描述
2025-02-12 08:30:34 +08:00
airwish
df34c48757
feat: expanded web search models
2025-02-12 08:30:00 +08:00
牡丹凤凰
b9641cd612
Update zh-tw.json ( #1433 )
...
助手菜单名称显示不全
2025-02-12 08:25:14 +08:00
linauror
83d96c7927
fix:针对思考类模型的返回,总结标题仅截取</think>之后的内容 ( #1415 )
2025-02-11 18:05:09 +08:00
Trey Dong
29b83862b7
feat: add pin topic feature ( #1408 )
...
* feat: 新增导出至Notion的选项
* fix:添加多语言支持
* fix:添加提示语的多语言支持,以及防止重复导入的状态
* fix:修复多语言错误及调整UI样式统一
* feat:添加话题固定功能
2025-02-11 16:51:58 +08:00
kangfenmao
3635952697
fix: upload button tooltip
2025-02-11 16:34:26 +08:00
lucifer9
832247bb77
feat: add support for clickable citations in message content ( #1381 )
...
* Add support for clickable citations in message content
* update format
2025-02-11 16:21:20 +08:00
kshern
7333bc4476
fix: retain selected model when regenerating message ( #1382 )
...
* fix: retain selected model when regenerating message instead of reverting to default model
* fix: use props model
---------
Co-authored-by: Shern <shenkeji@corp.netease.com>
2025-02-11 14:12:56 +08:00
Trey Dong
fa5522bbff
feat: 增加导出话题至Notion的功能 ( #1331 )
...
* feat: 新增导出至Notion的选项
* fix:添加多语言支持
* fix:添加提示语的多语言支持,以及防止重复导入的状态
* fix:修复多语言错误及调整UI样式统一
2025-02-11 11:27:01 +08:00
Chen Tao
488ec9bb03
fix: 数据库文档个数变为默认6个#1366 #1370
2025-02-11 10:05:34 +08:00
美兰十三
ffd1d47277
fix: 快捷键无法绑定空格
2025-02-11 09:25:42 +08:00
Peter Chen
470ec81827
Update MessageThought.tsx
2025-02-10 16:48:47 +08:00
kangfenmao
6f4f7ed170
fix: store migrate version
2025-02-10 14:40:30 +08:00
Chen Tao
c2ce72cf54
feat: add translate selection ( #1010 )
...
* feat: add translate selection
* chore: add default translate value
* feat: optimize trigger translation shotcut and add TanslateLanguageVarious
* fix
* fix: add database migrate version
2025-02-10 13:19:46 +08:00
郑恩
51fa93e01e
feat: 优化思考过程显示的换行效果
2025-02-10 13:17:32 +08:00
Fadouse
ce20ed724f
fix: correct thinking time calculation for deepseek r1
2025-02-09 21:29:21 +08:00
Wenwei Lin
be65d66b88
feat: 知识库文件支持 html 类型
2025-02-09 21:27:15 +08:00
kangfenmao
b2e2f3b0f1
fix: Remove local network access switch and add insecure content loading
2025-02-09 10:14:35 +08:00
kangfenmao
32df17c229
fix: max chunk size
2025-02-09 09:32:40 +08:00
牡丹凤凰
193255cf54
Update embedings.ts
...
embedding models information
2025-02-09 09:31:01 +08:00
kangfenmao
9bca10774b
chore(version): 0.9.20
2025-02-09 00:05:15 +08:00
kangfenmao
75d55e915c
feat: Add support for SiliconFlow provider charge and knowledge base improvements
2025-02-08 23:53:28 +08:00
kangfenmao
0bce58e3b4
feat: Add HTTP error handling and localized error messages
2025-02-08 23:01:27 +08:00
kangfenmao
3e84a32199
feat: Make knowledge base reference document count configurable
2025-02-08 20:56:59 +08:00
kangfenmao
9313059aba
feat: add knowledge base settings
2025-02-08 19:19:59 +08:00
kangfenmao
4d82d58752
feat: Add support for AIHubMix topup and charge functionality
2025-02-08 16:26:10 +08:00
magicdmer
ca02ac427f
fix: 翻译的temperature改为0.7
...
improve: 模型特性默认支持的时候,打勾
2025-02-08 14:46:55 +08:00
kangfenmao
f8d9318dbc
feat: enable local network access on macOS #1178
2025-02-08 10:58:12 +08:00
teaim
fb8baa5c09
fix: o3-mini markdown formatting #997
2025-02-08 07:33:27 +08:00
kangfenmao
c067b9f0dd
feat: remove knowledge base references when deleting a base
2025-02-07 23:58:44 +08:00
kangfenmao
b67e907bc8
fix: update knowledge base button tooltip and input bar dependency
2025-02-07 23:38:25 +08:00
Chen Tao
e1cbb7d7f5
feat: add knowledge base settings to assistant ( #1112 )
...
* feat: #1047
* fix: allow clear
2025-02-07 23:20:22 +08:00
kangfenmao
1b00d5d3dc
fix: sanitize error details by removing sensitive headers and stack trace
2025-02-07 23:05:27 +08:00
kangfenmao
27dd093043
fix: improve reasoning effort handling for different providers
2025-02-07 22:37:18 +08:00
kangfenmao
f62caba4e9
feat: add aihubmix oauth
2025-02-07 22:27:28 +08:00
Chris Wan
9fa5c7e8fa
fix: temperature tip English translation
2025-02-07 18:34:27 +08:00
Yrom Wang
4f3aebe305
fix: KnowledgeSearchPopup keyword highlighting issue
2025-02-07 18:24:03 +08:00
kangfenmao
6c1768298d
feat: expand supported Gemini models for web search #1096
2025-02-07 17:18:11 +08:00
kangfenmao
d906592431
feat: add baidu cloud provider
2025-02-07 16:47:29 +08:00
kangfenmao
98f21b0598
feat: Reposition ocoolAI provider in LLM store configuration
2025-02-07 13:29:07 +08:00
kangfenmao
05a0b0ff68
fix: remove QwenLM provider #1122
...
close #1122
close #886
2025-02-07 12:38:12 +08:00
gyuannn
f3d451fb23
feat: Improve handling of think tags
2025-02-06 13:43:06 +08:00
gyuannn
610171936c
feat: optimize MessageThought to enhance user experience
2025-02-06 13:43:06 +08:00
kangfenmao
4114a44eaf
feat: Add DeepSeek V3 model to Silicon provider
2025-02-05 21:34:55 +08:00
kangfenmao
d4ddcbfc5b
feat: Enhance web search parameter handling for assistants #575
2025-02-05 20:35:25 +08:00
kangfenmao
62bcb0582e
feat: Update VisionIcon from PictureOutlined to EyeOutlined
2025-02-05 20:21:26 +08:00
kangfenmao
9f101b614a
feat: Add DeepSeek VL to vision allowed models #1015
2025-02-05 20:09:29 +08:00
kangfenmao
ee260230ff
feat: Enhance model tags and icons with new reasoning and visual styles
2025-02-05 20:00:18 +08:00
shellming
f94a42a48f
feat: Add 3MinTop to default mini apps
2025-02-05 16:16:37 +08:00
Gutsy Yuan
122171b03c
feat: Add new model type for reasoning models & reasoning_effort setting ( #992 )
2025-02-05 16:15:31 +08:00
kangfenmao
9dadef6df3
feat: add support for o1 models and update provider configurations
2025-02-05 16:14:35 +08:00
kangfenmao
909e88f8a3
chore(version): 0.9.18
2025-02-04 22:37:31 +08:00
kangfenmao
8c1ae0b950
feat: improve error message display for embedding dimensions retrieval
2025-02-04 17:25:24 +08:00
kangfenmao
66a13b1132
feat: improve error handling and formatting across providers
2025-02-04 16:45:09 +08:00
kangfenmao
5211ed657a
fix: oauth error
2025-02-04 16:45:03 +08:00
Lei Huang
e49b3e8173
fix: prompt-injection-like behavior in translation #956 ( #974 )
...
* fix: prompt-injection-like behavior in translation #956
* fix: edit translation prompt to embded text to system prompt
2025-02-04 15:49:17 +08:00
亢奋猫
76b9af20ce
feat: add oauth for siliconflow ( #976 )
...
* wip: silicon oauth
* feat: Add custom protocol handler for SiliconFlow OAuth login
* feat: Improve SiliconFlow OAuth flow with dynamic key update
* feat: Enhance OAuth and Provider Settings UI
* feat: Refactor SiliconFlow OAuth and update localization strings
* chore: Update provider localization and system provider configuration
* feat: Add OAuth support for AIHubMix provider
2025-02-04 15:41:40 +08:00
kangfenmao
f4ac3bd2a8
feat: support for vba code mode #949
...
close #949
2025-02-04 13:22:41 +08:00
kangfenmao
c2c17230d0
feat: add mention model title to locales
2025-02-04 13:00:31 +08:00
kangfenmao
73a092ffe9
feat: reduce embedding batch size to 5
2025-02-04 12:35:42 +08:00
kangfenmao
7e94058199
feat: update text-to-image model regex to include Janus
2025-02-04 12:28:17 +08:00
kangfenmao
1f0d7687f1
feat: update text-to-image models with new FLUX and Stable Diffusion variants
2025-02-04 12:21:58 +08:00
kangfenmao
731bbfcda5
feat: add Janus model to vision allowed models
2025-02-04 12:11:14 +08:00
kangfenmao
e42d6d4219
feat: adjust translation assistant temperature
2025-02-04 12:06:06 +08:00
eeee0717
7f86e9ceeb
feat: add Janus-Pro-7B for silicon
2025-02-04 00:13:41 +08:00
Kcalb35
966c2df6ba
fix: translation issue #900
2025-02-03 17:26:31 +08:00
Shenghang Tsai
7d6b5f8cce
default use r1 in silicon
2025-02-03 15:06:50 +08:00
kangfenmao
9fac01c313
fix: reset knowledge base selection when switching assistants
2025-02-03 13:45:21 +08:00
kangfenmao
90b8d704c9
feat: add azure provider type #931
2025-02-03 13:37:09 +08:00
kangfenmao
99fd08184b
feat: change DEFAULT_TEMPERATURE to 1.0
2025-02-03 11:57:26 +08:00
kangfenmao
8f18476f9a
feat: openrouter reasoning field and include_reasoning key #863
2025-02-03 11:48:46 +08:00
kangfenmao
236f25df8a
feat: add regenerate message button
2025-02-03 11:18:55 +08:00
kangfenmao
089375c822
fix: add model input max length
2025-02-03 10:52:21 +08:00
kangfenmao
ca5912b121
feat: add knowledge base settings popup
2025-02-03 09:22:59 +08:00
Wenwei Lin
6cf4349fcf
fix: OpenAI o3-mini 无法使用
2025-02-02 00:17:00 +08:00
牡丹凤凰
3efdfcf816
Update models.ts
...
Match the avatar of the o3-mini
2025-02-01 04:38:25 +08:00
gyuannn
656d6da581
fix: 修复 mini-app 中无法使用 context-menu 的问题
2025-01-29 10:33:44 +08:00
Nanami
cdcb19320c
feat: Support configurable chunk size and overlap for knowledge base
2025-01-27 12:30:22 +08:00
Nanami
d3e868550c
feat: Support configurable chunk size and overlap for knowledge base
2025-01-27 12:30:22 +08:00
kangfenmao
6d3eed2a6a
feat: add delete group message confirm modal
2025-01-24 13:13:00 +08:00
kangfenmao
ba0db528f8
fix: resend message logic
2025-01-24 13:02:57 +08:00
kangfenmao
6ea456d452
fix: siliconflow image url with query params #844
...
close #844
2025-01-24 09:31:31 +08:00
kangfenmao
1d274b0a99
chore(migration): update version and adjust provider type for QwenLM #833
...
- Incremented version from 60 to 61 in the persisted reducer configuration.
- Updated migration logic to change the provider type for 'qwenlm' from 'openai' to 'qwenlm', ensuring correct identification in the state management.
2025-01-23 13:20:15 +08:00
hxp0618
1b55dcc17b
fix: apikey and ApiHost incorrectly set to empty
2025-01-23 08:30:07 +08:00
hobee
516f0bd383
feat: add new minimax model configuration
2025-01-23 08:29:48 +08:00
kangfenmao
9ed7d1f657
chore(version): 0.9.16
2025-01-22 16:32:57 +08:00
kangfenmao
7b7372e6ee
fix: group message bugs
2025-01-22 16:29:05 +08:00
kangfenmao
de3fad0d6a
feat: enhance message model handling and user display
...
- Updated Message component to fallback to message.model if model retrieval fails, improving robustness.
- Refactored MessageHeader to utilize getModelName for better user name display based on message role, enhancing clarity.
- Introduced getModelName function in ModelService to streamline model name retrieval, improving code modularity and readability.
2025-01-22 15:08:44 +08:00
kangfenmao
07d3d8518b
feat: enhance agent management and UI in AddAssistantPopup and AgentsPage
...
- Updated AddAssistantPopup to improve layout and styling, ensuring better overflow handling and text display.
- Refactored AgentsPage to utilize a new utility function for grouping agents, enhancing data management and organization.
- Exported getAgentsFromSystemAgents function for better modularity and reusability across components.
2025-01-22 14:47:35 +08:00
kangfenmao
734a1a37b4
feat: enhance translation functionality in MessageMenubar
...
- Updated translateText function to accept an optional callback for handling translated text directly within the function.
- Refactored MessageMenubar to utilize the new callback mechanism, improving the flow of translated content handling.
- Enhanced error handling during translation to ensure better user feedback in case of failures.
2025-01-22 14:37:15 +08:00
kangfenmao
e35af87035
feat: add file reading functionality and integrate system agents
...
- Introduced FileService to handle file reading operations via IPC.
- Implemented a new IPC handler for reading files, enhancing the application's ability to access and manage data.
- Integrated system agents from a JSON file, allowing dynamic loading of agent data into the application.
- Updated the AgentsPage and AddAssistantPopup components to utilize the new system agents, improving user experience and functionality.
- Enhanced application state management by adding resourcesPath to the runtime state, ensuring proper resource handling across components.
2025-01-22 14:35:38 +08:00
kangfenmao
bc221904de
refactor: unify message model handling across components
...
- Replaced direct usage of modelId with model object in Message, MessageHeader, MessageMenubar, and TranslatePage components for consistency.
- Introduced getMessageModelId utility function to streamline model retrieval from messages.
- Updated event handling in Messages component to align with new model structure.
- Enhanced code readability and maintainability by reducing redundancy in model handling.
2025-01-22 13:29:21 +08:00
kangfenmao
f6165060c7
feat: conditionally render resend button in MessageMenubar
...
- Updated MessageMenubar to display the resend button only for user messages, enhancing user experience and preventing unnecessary actions for other roles.
- Refactored the children prop of TextEditPopup to include conditional rendering logic based on message role.
2025-01-22 12:26:40 +08:00
kangfenmao
68a5608a14
feat: enhance message grouping and styling
...
- Added new styles for message thought containers and group message wrappers to improve UI layout.
- Updated MessageGroup component to dynamically set the selected message index based on message length.
- Introduced a new event for appending messages, enhancing message handling capabilities.
- Refactored MessageMenubar to support the new append message functionality.
- Adjusted multi-model message style setting to 'fold' for better user experience.
- Improved responsiveness of message grid layout for smaller screens.
2025-01-22 12:04:21 +08:00
kangfenmao
5a1f026271
feat: streamline language translation options in MessageMenubar
...
- Replaced hardcoded language translation options with a dynamic mapping from TranslateLanguageOptions.
- Improved maintainability and scalability of the translation feature by utilizing a centralized configuration for language options.
2025-01-22 10:18:19 +08:00
kangfenmao
c3691cb9e0
feat: add FlagOpen logo to model configuration
...
- Introduced a new image asset for the FlagOpen model in the assets directory.
- Updated the models configuration to include the FlagOpen logo, allowing for its use in the model logo mapping.
2025-01-22 10:05:50 +08:00
kangfenmao
91d363e6a3
refactor: improve message rendering and add reasoning content extraction
...
- Refactored `getMessageBackground` function for better readability.
- Updated `MessageContent` component to use a new `withMessageThought` utility for extracting reasoning content from messages.
- Changed fragment usage to `Fragment` for consistency in JSX.
- Enhanced message handling by separating reasoning content from the main message content.
2025-01-22 09:50:29 +08:00
duanyongcheng77
4fd0393b4d
fix: 🐛 fixed bug #779
...
助手的预设消息保存逻辑的修改
2025-01-21 22:06:52 +08:00
kangfenmao
f3deea48ec
feat: add group message action bar
2025-01-21 17:58:34 +08:00
Teo
77bf062f7a
chore(version): update version to 60 and add migration for multiModelMessageStyle setting
2025-01-21 15:16:18 +08:00
Teo
00665179b0
refact: 多模型回答优化
2025-01-21 15:16:18 +08:00
kangfenmao
23a59578c3
fix: regenerate message not rewrite reasoning_content
2025-01-21 15:15:55 +08:00
kangfenmao
d4d769261d
feat: add deepseek-reasoner model support
2025-01-21 14:28:01 +08:00
kangfenmao
5b214c1b94
feat(miniwindow): add up and down key switch menu #792
2025-01-21 10:11:42 +08:00
Cololi
af9a4e80c0
feat: add deepseek-reasoner & delete deepseek-coder
2025-01-21 10:05:21 +08:00
ousugo
0e28bb1e29
feat: add WebDAV backup hour options and optimize english hour translations
2025-01-21 08:38:08 +08:00
kangfenmao
757b1856db
feat: update minapp url to ' https://grok.com ' #791
...
close #791
2025-01-20 16:53:33 +08:00
kangfenmao
fcaff8e3eb
fix: added warning for manual download on failed auto updates, simplified window lifecycle
2025-01-20 13:56:25 +08:00
kangfenmao
42c6084c03
chore(version): 0.9.13
2025-01-20 13:11:26 +08:00
kangfenmao
9f268c7897
feat: add onclick event to login icon in footer component
2025-01-20 12:57:26 +08:00
kangfenmao
e577b79ecb
feat: extended safety threshold check to include 'thinking-exp' model ids
2025-01-20 12:55:24 +08:00
kangfenmao
7c4555eed0
feat: update contact email address
2025-01-20 12:20:46 +08:00
kangfenmao
7845c676f1
chore(version): 0.9.12
2025-01-20 11:52:26 +08:00
kangfenmao
c6a501f8fb
feat: added copy last message feature and translations
2025-01-20 11:09:57 +08:00
kangfenmao
f56d2b9661
feat: added utility function, sorting, and new shortcut
2025-01-20 10:29:44 +08:00
kangfenmao
adf8c34ded
feat: enable pinned functionality for minapps and update 'flowith' configuration
2025-01-20 09:58:47 +08:00
kangfenmao
c67904b925
fix: prevent unnecessary route changes and trim input field on change
2025-01-20 09:52:58 +08:00
ousugo
80ad18e90f
fix: conditionally render pin button based on app ID
2025-01-20 09:32:13 +08:00
ousugo
18a8ab9482
feat: add Flowith minapp, resolve #780
2025-01-20 09:31:34 +08:00
MrChen
276455d4c2
feat: add the shortcuts for 'clear' and 'new context' and fix ( #786 )
...
* Fix: ESC key to exit the expanded editor
* Add the shortcuts for 'clear' and 'new context' to the input bar
Clear Messages: Ctrl+L
New Context: Ctrl+R
https://github.com/CherryHQ/cherry-studio/issues/740
https://github.com/CherryHQ/cherry-studio/issues/766
* Fix: the paste issue when copying from an email (content was pasted as an image; ensure it is pasted as text). Prioritize the text in the clipboard during pasting.
2025-01-20 09:31:09 +08:00
kangfenmao
13ea20083d
chore(version): 0.9.11
2025-01-19 20:50:33 +08:00
kangfenmao
30b1d12909
fix: quick assistant bugs
2025-01-19 20:03:45 +08:00
kangfenmao
6692f6035d
feat: add a startup switch for quick assistant
2025-01-19 19:22:25 +08:00
kangfenmao
616a3672ba
feat: translate support stream output
2025-01-19 16:56:35 +08:00
kangfenmao
80ebf768c3
feat: auto-scroll to selected menu item on model open
2025-01-19 15:47:19 +08:00
kangfenmao
596b30d4d9
refactor: add qwenlm provider
2025-01-19 15:39:48 +08:00
kangfenmao
6a79827fd7
fix: store minapp url use base64 data image
2025-01-19 15:35:17 +08:00
kangfenmao
0f3c7aa648
feat: add mini window
2025-01-19 13:59:32 +08:00
ousugo
71ccea9114
feat: add pinning functionality for MinApp component
2025-01-19 13:59:06 +08:00
ousugo
f5516ac322
fix: fix wrong NVIDIA official website link, fix #771
2025-01-19 13:59:06 +08:00
kangfenmao
8f3c5b477b
fix: remove default message for webdav backup initiation
2025-01-19 13:59:06 +08:00
kangfenmao
ce7b0fcc5a
style: increased padding at the bottom of the sidebar component
2025-01-19 13:59:06 +08:00
kangfenmao
46641faf38
fix: WebDAV not automatic backup on app reopened #752
2025-01-19 13:59:06 +08:00
kangfenmao
9e4bf0214a
feat: auto focs input textarea #759
...
close #759
2025-01-19 13:59:06 +08:00
kangfenmao
61f8af8910
feat: improved 'my agents' list rendering
2025-01-19 13:59:06 +08:00
magicdmer
65b60d7cfa
perf: 优化智能体页面性能和体验 ( #756 )
...
* feat: improved model validation and error handling
* refactor: 优化智能体页面下拉流畅度和分类切换效果,让其更加顺畅自然
---------
Co-authored-by: kangfenmao <kangfenmao@qq.com>
Co-authored-by: magicdmer <magicdmer@163.com>
2025-01-19 13:59:06 +08:00
kangfenmao
f3c13a4070
refactor: improved code organization and reusability
2025-01-19 13:59:06 +08:00
kangfenmao
ad752900ba
feat: improved model safety settings for geminiprovider class
2025-01-19 13:59:06 +08:00
magicdmer
551ec07a4a
refactor: (GeminiProvider) optimize safety settings handling
...
- Extract safety threshold logic into getModelSafetySetting method
- gemini-exp-* models not support 'OFF', must use 'BLOCK_NONE'
2025-01-19 13:59:06 +08:00
kangfenmao
7893edf70e
feat: update harmblockthreshold for harm_category_civic_integrity
2025-01-19 13:59:06 +08:00
kangfenmao
a8536cf296
feat: add civic integrity category to harm block settings in GeminiProvider
2025-01-19 13:59:06 +08:00
kangfenmao
2fd2ec8b6e
feat: update safety settings for specific categories #696
...
Gemini安全设置是否没有完全关闭
2025-01-19 13:59:06 +08:00
kangfenmao
cdb7aaca4d
feat: replaced visionicon with modeltags
2025-01-19 13:59:06 +08:00
kangfenmao
5ad8c19a0d
feat: add 思维链(CoT) agent
2025-01-19 13:59:06 +08:00
kangfenmao
e17e9bfe40
fix: improved openai provider model id validation logic
2025-01-19 13:59:06 +08:00
magicdmer
da81b048dd
fix: 修正o1模型无法使用的问题
2025-01-19 13:59:06 +08:00
kangfenmao
25448beb92
fix: remove specific unicode characters from removespecialcharacters function
2025-01-19 13:59:06 +08:00