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
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
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
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
Linjun
053dd647ec
fix issue#762: upon clicking to resend, the conversation content is cleared.
...
If there is no subsequent message or if the next message is from the user, this message should be resent. delete the old message after processing is complete.
2025-01-19 12:26:55 +08:00
kangfenmao
6f21844603
feat: improved model validation and error handling
2025-01-16 10:14:32 +08:00
Nanami
70666df135
fix: qwenlm context error
2025-01-15 09:09:01 +08:00
kangfenmao
ce605e42c5
fix: artifacts cannot preview
2025-01-14 23:27:54 +08:00
kangfenmao
70ae5044d2
refactor: improved type safety and consistency for file handling
2025-01-14 21:02:55 +08:00
kangfenmao
da2bc3af17
refactor: update model group names and sync interval
2025-01-14 20:53:52 +08:00
kangfenmao
3be32e5f7e
fix: fix model type logic based on provider properties
2025-01-14 20:32:04 +08:00
Nanami
82266800e6
feat: add support for qwenlm and image upload ( #726 )
...
* feat: add support for qwenlm and image upload
* fix: qwenlm return
* feat: add provider config
2025-01-14 18:59:19 +08:00
Teo
69f1f2ea71
feat: 添加模型提及功能,支持多个模型一起回答
2025-01-14 17:46:55 +08:00
kangfenmao
5aed454a62
chore: update store version and migration
2025-01-14 14:34:36 +08:00
kangfenmao
17e3a966dd
style: update markdown link text color
2025-01-14 13:54:10 +08:00
kangfenmao
f860503d96
fix: improved input validation and debouncing for assistant settings updates
2025-01-14 13:18:34 +08:00
kangfenmao
b1b9898eb1
feat: add grounding source info to gemini message
2025-01-14 12:32:50 +08:00
kangfenmao
32a0047a1d
feat: auto focus search input box #705
...
close #705
2025-01-13 18:09:59 +08:00
kangfenmao
fd7de97b12
feat: add native app regions support
2025-01-13 18:06:22 +08:00
kangfenmao
64e3da4225
style: update pinned apps style and refactor config model
2025-01-13 17:56:16 +08:00
kangfenmao
348d0fb06a
feat: add refresh icon to knowledge base items #567
...
close #567
2025-01-13 17:42:59 +08:00
kangfenmao
662742c958
feat: added openai model configuration and search parameter logic
2025-01-13 16:42:53 +08:00
kangfenmao
d0cb1c5d86
feat: check api use selected model
2025-01-13 16:11:09 +08:00
kangfenmao
812ae5883c
fix: enforce max tokens above 0 in assistantservice #530
2025-01-13 15:03:37 +08:00
kangfenmao
ae9b574567
feat: csv download #710
...
close #710
2025-01-13 14:44:30 +08:00
kangfenmao
93b5e628b3
refactor: update terminology to 'backup' throughout the application
2025-01-13 14:00:35 +08:00
kangfenmao
ac6faaf23e
feat: add qwenlm minapp
2025-01-13 13:52:45 +08:00
kangfenmao
0aef439c08
refactor: sidebar minapps
2025-01-13 13:04:01 +08:00
hxp0618
4651412aa8
feat: MinApp added to the sidebar does not support direct hiding.
2025-01-13 10:13:47 +08:00
hxp0618
153d36fcbb
feat: Adjust the order of settings
2025-01-13 10:13:34 +08:00
hxp0618
9423403c5c
feat: minApp supports show/hide, add to the sidebar
2025-01-13 10:13:34 +08:00
王瑞
69ec906df4
feat: add Grok app logo and configuration
2025-01-12 22:33:46 +08:00
kangfenmao
aa73526ba4
chore(version): 0.9.6
2025-01-09 16:23:29 +08:00
kangfenmao
aa40df2cfd
fix: create agent popup error
2025-01-09 09:15:16 +08:00
kangfenmao
7d393deda7
chore(version): 0.9.5
2025-01-08 16:52:03 +08:00
kangfenmao
1a4dc3aafd
fix: window navbar layout
2025-01-08 14:35:48 +08:00
kangfenmao
be2d18be1d
style: update container component styling and navbar responsiveness
2025-01-08 13:25:34 +08:00
kangfenmao
322ba29c8d
feat: narrow layout
2025-01-08 12:44:01 +08:00
kangfenmao
ccd3becc87
style: adjusted padding and container gap styles
2025-01-08 11:06:51 +08:00
kangfenmao
17f1a24433
fix: removed unnecessary conditional logic for attachment button #667
2025-01-08 10:56:22 +08:00
kangfenmao
7fb9a34f7d
Revert "fix:修复单行CodeBlock中显示sub"
...
This reverts commit d808b6dffc .
2025-01-08 10:46:35 +08:00
kangfenmao
cd5c1b4797
refactor: refactor upload component layout and styling for responsiveness #674
...
fix: 当插入文件过多的时候,无法看到输入框了。 close #674
2025-01-08 10:21:17 +08:00
kangfenmao
1229917e4c
fix: update model filtering logic to exclude empty ids #493
...
close #493
2025-01-08 10:00:23 +08:00
kangfenmao
509566dc07
fix: @google/generative-ai local compilation issue #682
...
close #682
2025-01-07 23:18:18 +08:00
亢奋猫
169fb519e1
feature: customizable sidebar module #644 ( #680 )
...
* feat:对话的时候支持侧边栏拖拽调整宽度
* feat:对话的时候支持侧边栏拖拽调整宽度
* feat: 隐藏app sidebar 用户体验度提升,不支持隐藏对话
* fix:对话勾选知识库 国际化错误
* refactor: split the SidebarIconsManager module out of DisplaySettings
* style: update SidebarIconsManager style
* ci: fix typecheck
* Revert "feat:对话的时候支持侧边栏拖拽调整宽度"
This reverts commit 58072128f0 .
* refactor: merge migrate versions
* refactor: simplify sidebarIcons data structure
* chore: move react-beautiful-dnd to dev dependencies
* chore: use @hello-pangea/dnd replace react-beautiful-dnd
* docs: update translation and formatting of input messages
---------
Co-authored-by: hxp0618 <1169924772@qq.com>
Co-authored-by: huang <hxp0618@gmail.com>
2025-01-07 19:11:12 +08:00
kangfenmao
b4da93da74
feat: add gemini files support
2025-01-07 16:49:11 +08:00
kangfenmao
952b912b8a
feat: add optional free model tag display
2025-01-07 11:23:32 +08:00
kangfenmao
20ade3003e
feat: enable web search for zhipu ai provider #657
2025-01-07 10:53:34 +08:00
kangfenmao
7cadb0017c
fix: improved error message formatting in api service
2025-01-07 10:19:21 +08:00
kangfenmao
abf4d90f4e
feat: add ModelTags component
2025-01-07 09:54:22 +08:00
kangfenmao
94291e0d6f
feat: add support for 'aihubmix' models and aihubmix llm provider
2025-01-07 09:46:05 +08:00
kangfenmao
30ff19a78c
feature: customizable sidebar module #644
...
close #644
2025-01-06 16:59:10 +08:00
kangfenmao
c2d5d54922
feat: add search message shortcut #366
2025-01-06 16:29:39 +08:00
kangfenmao
3f44e1e4ac
fix: the minimum width limit of the window is too large #544
...
close #544
2025-01-06 16:25:00 +08:00
kangfenmao
5ffc581a0a
fix: generating topic name after exporting prompt file name is invalid #641
...
close #641
2025-01-06 15:50:57 +08:00
kangfenmao
cf0aeb0735
fix: Ollama is unable to create a knowledge base using a local embedding model #630
2025-01-06 15:43:20 +08:00
kangfenmao
a0b3998d0c
fix: turn off spell check #648
...
The next version will be released. close #648
2025-01-06 15:10:03 +08:00
kangfenmao
308bafe29e
feat: added optional chaining for code variable
2025-01-06 14:54:04 +08:00
xx-moos
404dfb3fa4
fix: 修复 message 显示时间过长的问题
2025-01-06 14:43:31 +08:00
kangfenmao
b1ec4b0181
style: border radius use var
2025-01-04 22:50:44 +08:00
kangfenmao
e95673349b
style: logo v3
...
# Conflicts:
# src/renderer/src/assets/images/logo.png
2025-01-04 21:52:05 +08:00
huang
368bff3e59
feat: 支持 mermaid 点击按钮放大缩小以及鼠标滑轮放大缩小
2025-01-04 19:17:39 +08:00
kangfenmao
201a66b5b2
fix: Qwen2.5和Qwen的划分不合理 #633
2025-01-03 18:05:01 +08:00
huang
0239a03219
fix: 中文国际化错误
2025-01-03 17:35:17 +08:00
kangfenmao
f2fa786c19
chore(version): 0.9.4
2025-01-02 21:34:30 +08:00
kangfenmao
6f99a0b8fa
feat: add translations and file management features
2025-01-02 18:29:36 +08:00
kangfenmao
a3be8a80d9
feat: update assistantmodelsettings to persist custom parameters
2025-01-02 17:21:33 +08:00
kangfenmao
2d8307a9df
feat: improved form validation and model addition functionality
2025-01-02 16:58:58 +08:00
kangfenmao
6d191f86b6
refactor: improve model generation and handling functionality
2025-01-02 16:39:30 +08:00
kangfenmao
e63d360647
fix: 腾讯混元的联网开关 #575
2025-01-02 16:26:24 +08:00
kangfenmao
555e015836
feat: add more classname
2025-01-02 16:25:50 +08:00
kangfenmao
13a1e866e6
fix: 重新发送按钮无反应 #587
2025-01-02 15:42:47 +08:00
kangfenmao
35bf25c6be
feat: paintings add prompt enhancement params
2025-01-02 14:51:52 +08:00
kangfenmao
c0d9805c45
feat: added error handling and knowledge base provider support
2025-01-02 14:16:37 +08:00
kangfenmao
64a1d95d08
feat: add new branch option to message menubar
2025-01-02 13:41:51 +08:00
kangfenmao
21e4a0acd2
style: adjusted padding and border styles in settingsgroup component
2025-01-02 13:37:04 +08:00
kangfenmao
fe58723b10
feat: custom parameters add json type
2025-01-02 13:34:21 +08:00
kangfenmao
c777436a81
feat: improved translation features and settings
2025-01-02 12:21:22 +08:00
zhouxl
d808b6dffc
fix:修复单行CodeBlock中显示sub
2025-01-02 11:47:34 +08:00