Commit Graph

1662 Commits

Author SHA1 Message Date
Aglargil
6448711b48 feat: add export to Yuque 2025-02-25 19:06:37 +08:00
Godcoper
598d4600cf fix: 修复深色模式下气泡样式的用户名样式错误问题 2025-02-25 18:58:10 +08:00
suyao
bd43cdfc0b chore: Update Grok app logo and related images 2025-02-25 15:01:01 +08:00
kangfenmao
216a861f7c refactor: Move fullscreen notification logic to a separate hook 2025-02-25 13:32:15 +08:00
ousugo
8811d3b679 feat: Add fullscreen mode notification with localized message 2025-02-25 13:28:29 +08:00
kangfenmao
878086e1fb chore: Remove console logs and clean up code
This commit removes unnecessary console.log statements and makes minor code cleanup in several files:
- PlantUML component
- WebSearchSettings
- WebSearchService
- Store settings

Additionally, it updates the store migration to handle LM Studio provider addition and reverts the store version
2025-02-25 13:27:31 +08:00
Chen Tao
bd6de1d5ba fix: 网络搜索添加时间信息 (#2255)
* fix: add time when using web search

* feat: add optional

* chore

* chore

* chore

* clean code
2025-02-25 13:20:53 +08:00
preszzz
43b804525d feat: add new claude 3.7 model support 2025-02-25 13:17:09 +08:00
Alice39s
63c4c30841 feat: Add support for Gemini 2.0 and update Yi model configurations
- Added `gemini-2.0` to `visionAllowedModels`.
- Introduced new Gemini models in `SYSTEM_MODELS`:
  - `gemini-1.5-flash-8b`
  - `gemini-2.0-flash`
- Updated Yi model configurations:
  - Renamed `yi-lightning` to "Yi Lightning".
  - Deprecated `yi-medium`, `yi-large`, and `yi-vision` (replaced by `yi-lightning` per documentation).
  - Added `yi-vision-v2` as a new version of Yi Vision.
2025-02-25 08:29:59 +08:00
ousugo
d97023cecb feat: Adapt glmzeropreview thinking chain format, enhance message thought processing with flexible extractors, 2025-02-25 08:29:16 +08:00
自由的世界人
ee29df8a93 fix: folder spelling change (#2242) 2025-02-25 08:26:25 +08:00
Zicheng Zhang
bc76c26181 fix: count reasoning content into token estimation (#2276) 2025-02-25 08:24:53 +08:00
eeee0717
041360825c fix bug: uniqueIds is null when uploaded directory 2025-02-24 21:40:17 +08:00
kangfenmao
8e19e5a08e fix: Update Infini provider API URL to include '/maas' path 2025-02-24 18:08:22 +08:00
icinggslits
4dd4bdc3af feat: add shortcut to home window of mini app 2025-02-24 12:58:40 +08:00
vic123
468f59ae12 fix: undesired assistant selection menu popup when no ' ' before '@' 2025-02-24 12:57:26 +08:00
SagoLu
695ea33ebd fix:修复在备份和恢复备份时由于无法删除临时目录导致的功能终止 (#2224)
* refactor: Remove chat settings toolbar button from input bar

* fix:修复在备份时,由于临时文件只读导致的备份失败

* fix:修复在恢复备份时,由于临时文件只读导致的备份失败

---------

Co-authored-by: kangfenmao <kangfenmao@qq.com>
2025-02-24 12:56:19 +08:00
Alice39s
756c9e74b2 feat: Improve support for the Codestral and additional Mistral models
- Added new image asset `codestral.png` for Codestral model.
- Updated `embedings.ts` to include the `mistral-embed` embedding model with `max_context: 8000`.
- Updated `models.ts` to:
  - Add support for Codestral model with `codestral-latest` ID.
  - Introduce new Mistral models, including:
    - `ministral-3b-latest`
    - `ministral-8b-latest`
    - `mistral-large-latest`
    - `mistral-small-latest`
    - `mistral-embed`
  - Organize models into appropriate groups (e.g., "Mistral Chat", "Mistral Code").
- Adjusted `getModelLogo` function to include Codestral and Ministral logos.
2025-02-24 12:55:28 +08:00
kangfenmao
1a10ac0739 refactor: Rename onResend to onResendUserMessage for clarity 2025-02-24 12:50:29 +08:00
Asurada
7b3a743219 feat: Add remark function to knowledge url (#2210)
* chore: Update .gitignore to exclude .cursor/rules

* feat: Add remark function to knowledge url
2025-02-24 12:47:47 +08:00
dengshenkk
7001b30adb feat: 用户侧消息快捷重试功能 (#2221)
* Update MessageMenubar.tsx

用户发送消息可以重试, 方便在接口错误后进行重试

* Update MessageMenubar.tsx
2025-02-24 12:41:59 +08:00
ousugo
98b9f6bbf3 feat: Improve knowledge base creation popup input focus 2025-02-24 12:40:46 +08:00
ousugo
a0018fff46 feat: Enhance knowledge search popup input focus behavior 2025-02-24 12:40:46 +08:00
sijie-chan
241b63c6b2 fix: 添加多个目录到知识库多个进度之间展示混淆 2025-02-24 12:40:00 +08:00
kangfenmao
f24d3073cf feat: Add Tavily dark mode logo and improve web search settings UI 2025-02-23 15:10:01 +08:00
kangfenmao
528abe3eab refactor: Rename AssistantItemComponent to AssistantItem and update imports 2025-02-23 14:30:17 +08:00
wnzzer
5379939cc0 fix:清空话题总是修复当前话题 (#2167) 2025-02-23 14:26:31 +08:00
kangfenmao
70f72a2fb5 feat: Improve web search UI and localization 2025-02-23 14:22:09 +08:00
kangfenmao
966f843d26 chore: Update Tavily core package and remove js-tiktoken dependency 2025-02-23 11:01:30 +08:00
kangfenmao
7e6e6d21c1 feat: add web search 2025-02-23 11:01:29 +08:00
kangfenmao
1d9f471aca chore(version): 0.9.30 2025-02-23 07:02:00 +08:00
kangfenmao
9327d6c367 feat: Enhance assistant emoji and popup UI interactions 2025-02-23 06:45:35 +08:00
George·Dong
c4a6e304d4 feat: 添加Notion导出自动分页功能 (#2098)
* fix: 长对话Notion导出失败(分页导出)

* feat: 添加Notion导出自动分页设置
2025-02-23 06:45:26 +08:00
ousugo
9e97334dcf feat: Auto-select newly added knowledge base 2025-02-23 00:17:46 +08:00
ousugo
24a6c86e3c fix: Regenerat messages don't use @ specified models 2025-02-22 22:35:02 +08:00
ousugo
1eb48dfbaf fix: Restore textarea focus after selecting mention model via mouse 2025-02-22 22:34:16 +08:00
shijian
07ab9de13f fix: 复制聊天信息按钮显示不全 2025-02-22 22:32:30 +08:00
kangfenmao
c8293ab326 fix: Remove LM Studio provider from initial state 2025-02-22 22:31:37 +08:00
kangfenmao
da2137f8f1 fix: Remove duplicate empty LM Studio providers 2025-02-22 13:35:14 +08:00
aber0724
626e72a4fe feat: Add Monica minapp 2025-02-22 11:27:30 +08:00
sijie-chan
0b2b0dd99b fix: 添加目录到知识库任意一个失败界面上会展示失败 2025-02-22 11:26:31 +08:00
kangfenmao
2ddd5dcbb8 feat: update miniapp logo 2025-02-21 18:25:23 +08:00
kangfenmao
89cbae38d4 feat: Enhance topic message clearing functionality
关于“清空话题”的Bug反馈 #2107

close #2107
2025-02-21 16:48:04 +08:00
suyao
8a0f53de30 fix: add first message handling in mini home window 2025-02-21 16:32:56 +08:00
kangfenmao
dc878fd6aa feat: add export function to message 2025-02-21 16:27:07 +08:00
kangfenmao
62e46c17e1 refactor: Remove chat settings toolbar button from input bar 2025-02-21 14:31:05 +08:00
kangfenmao
98d7996bc6 feat: Synchronize and clean up localization files
This commit involves several improvements to localization files across different languages:
- Reordered and cleaned up translation keys
- Removed redundant entries
- Ensured consistent ordering of keys
- Added missing translations for various features
- Normalized whitespace and formatting
2025-02-21 14:15:36 +08:00
落子
0a0354921a feat: add "Copy as" options to topics right click menu (#2095)
* feat: Add copy topic as image and Markdown functionality

* add translation
2025-02-21 13:59:34 +08:00
Avan
ef58ee8d60 feat: baidu ai search 2025-02-21 13:58:19 +08:00
kangfenmao
b4c32af635 feat: Add API host formatting utility function 2025-02-21 13:50:24 +08:00
lizhixuan
8740fa4f15 refactor: Move abort controller to utils and update imports 2025-02-21 12:50:18 +08:00
lizhixuan
20e0dfc241 feat: Add message completion abort functionality 2025-02-21 12:50:18 +08:00
kangfenmao
7f74e2a567 refactor: Simplify translation history clear button configuration 2025-02-21 11:17:41 +08:00
ousugo
b568dfef17 feat: Add newline tooltip for translation input 2025-02-21 11:16:02 +08:00
kangfenmao
f395bb32de refactor: Simplify embedding model regex pattern 2025-02-21 09:46:26 +08:00
kangfenmao
40ddf94224 refactor: Clean up MinAppsPopover component formatting 2025-02-20 15:35:51 +08:00
kangfenmao
a9ee9ec762 refactor: Simplify topic deletion interaction 2025-02-20 15:33:24 +08:00
ousugo
9189cdb8ff feat: Add direct topic deletion shortcut 2025-02-20 15:19:32 +08:00
ousugo
8d1ec04dd3 feat: Add confirmation dialog for topic deletion 2025-02-20 15:19:32 +08:00
Yrom
9eee9c42fa feat: add developer tools button in MinApp for development mode 2025-02-20 15:19:10 +08:00
ousugo
530aeb58b8 feat: Add emoji selection for assistant name 2025-02-20 15:17:04 +08:00
kangfenmao
438b8cb08a fix: Update migration config to set default thought auto-collapse 2025-02-20 12:24:24 +08:00
ousugo
7861803814 feat: Add thought content auto-collapse setting 2025-02-20 12:22:45 +08:00
ousugo
adb5e4fc31 feat: Add copy functionality to message reasoning content 2025-02-20 12:22:45 +08:00
kangfenmao
58100ab822 refactor: Simplify translation page layout and styling 2025-02-20 12:16:38 +08:00
Chen Tao
b405d2e9ac feat: add shortcuts to open settings page (#1964)
* feat: add shortcuts to open settings page
* refactor: simplify code
* fix: change to useHotKeys
2025-02-20 12:10:16 +08:00
jtsang4
f1a9699be4 feat: Add backspace handling to remove last mentioned model 2025-02-20 12:08:25 +08:00
eeee0717
173e164d2b fix: knowledge base status problem 2025-02-20 12:07:05 +08:00
kangfenmao
54b7bfd663 fix: Improve null handling in code block and syntax highlighting 2025-02-20 12:04:29 +08:00
kangfenmao
7f3e6bb44d refactor: Remove default grid settings from migration config 2025-02-20 11:54:21 +08:00
littel_penguin66
e5dee7801e feat: add dify miniapp (#1999)
* add Dify miniapp

* add wpslingxi,lechat,abacus miniapps

* resize pic

* change png to webp

* update 71
2025-02-20 11:52:36 +08:00
FischLu
5503a2ccea fix: fix translation 2025-02-20 11:50:49 +08:00
onlyfeng
64a609cdf0 fix(KnowledgeBase): handle JSON parse failure by falling back to text file processing to avoid error display affecting normal progress indication 2025-02-20 11:44:36 +08:00
kangfenmao
34a5b89754 fix: Ignore hidden files when traversing directories 2025-02-20 11:43:01 +08:00
FischLu
c65d351a3d fix: fix the issue where the menu scrolls back to the top after clicking an option 2025-02-19 21:40:32 +08:00
Teo
b0f74159dd feat: 添加翻译历史功能 2025-02-19 19:38:59 +08:00
Yrom
6c8b93c4d1 feat: Support dark theme for PlantUML 2025-02-19 18:37:05 +08:00
Yrom
d73d92e795 feat: Add PlantUML diagram support (via PlantUML official online server) 2025-02-19 18:37:05 +08:00
ousugo
598630b294 refactor: Simplify model type detection with utility functions 2025-02-19 18:33:51 +08:00
ousugo
aa3e1cc1e6 feat: Add Doubao provider support for model type detection
(cherry picked from commit 008b84e128484c98eb59c75d8f44cbc320509049)
2025-02-19 18:33:51 +08:00
ousugo
a9f34f12b9 feat: Add model generation check before narrow mode toggle 2025-02-19 18:33:16 +08:00
jiangjiwei
0e60ee47f1 feat: 为 Notion 导出添加可配置的页面名称 key 2025-02-19 17:18:45 +08:00
ousugo
d35e604462 fix: Ensure model is updated when setting default model 2025-02-19 17:13:52 +08:00
Teo
fd734e0810 refactor: 翻译页UI重构 2025-02-19 15:53:52 +08:00
kangfenmao
aafb62cb2f feat: Add web search support for OpenRouter provider 2025-02-19 10:11:49 +08:00
icinggslits
08535924ce feature: Adaptive height of textarea on translation page 2025-02-19 09:57:26 +08:00
kangfenmao
76a02d184f feat: Add default API host for DMX provider in migration 2025-02-19 09:45:41 +08:00
kangfenmao
af461c9246 fix: Safely update topic with existing topic data 2025-02-19 09:35:10 +08:00
kangfenmao
8815b6248e fix: Improve knowledge base processing and deletion handling 2025-02-19 09:28:36 +08:00
kangfenmao
b832809b7a refactor: Simplify DragableList styling and remove unnecessary margins 2025-02-19 09:21:10 +08:00
suyao
88e36627f5 fix: update model identification with provider-specific uniqueness 2025-02-19 09:14:45 +08:00
ousugo
ac2a3156f8 feat: Add German language support to translation options 2025-02-19 08:21:00 +08:00
George·Dong
ff42b512cf feat: 添加Notion文档按钮Tooltip 2025-02-19 08:20:21 +08:00
George·Dong
ee1b8f95c3 fix: 修改导出到Notion的相关提示 2025-02-19 08:20:21 +08:00
icinggslits
856cd7d34f fix: Update language options promptly 2025-02-19 08:18:41 +08:00
首都爱护动物协会
64fb414e62 Updated provider information 2025-02-19 07:10:45 +08:00
kangfenmao
35b47ec640 fix: Add top margin to 'Add Assistant' button in AssistantsTab 2025-02-18 21:17:13 +08:00
Yrom
e4101fff49 feat: Enable search capability for Qwen commercial version model 2025-02-18 21:14:43 +08:00
kangfenmao
e6f3663e9b chore(version): 0.9.26 2025-02-18 20:55:04 +08:00
kangfenmao
64da3d32b8 fix: Update agent knowledge base field name and handling 2025-02-18 20:55:04 +08:00
Chen Tao
3da3ee0225 feat: artifacts add open external (#1812)
* feat: artifacts add open external

* fix: remove modal
2025-02-18 19:56:39 +08:00
Teo
6e4be783d7 fix: 解决生成过程中出现错误内容被清空覆盖问题 2025-02-18 19:46:50 +08:00
美兰十三
76267716c3 fix: 修复mac下快捷键注册control被替换成command的问题 2025-02-18 19:46:28 +08:00
eeee0717
10cf842224 feat: 目录进度可视化 2025-02-18 19:45:47 +08:00
kangfenmao
f735673f6d feat: Add 'off' option for reasoning effort in assistant settings 2025-02-18 18:16:14 +08:00
ousugo
edcf45d7c0 fix: Recalculate token consumption after modifying the message, resolve #1829 2025-02-18 16:34:52 +08:00
ousugo
4cfb6a9118 fix: Improve DragableList component styling and placeholder handling 2025-02-18 16:26:34 +08:00
lucifer9
73e48c045e adjust Notion database ID input width in DataSettings 2025-02-18 16:22:53 +08:00
lucifer9
d2139abcb9 Refactor WebDAV i18n and UI for improved flexibility and localization
- i18n Updates:
   - Refactored WebDAV-related translations into nested JSON structures for better organization.
   - Added support for pluralization in time intervals (minutes and hours) across all locales (en-us, ja-jp, ru-ru, zh-cn, zh-tw).

 - UI Enhancements:
   - Updated `DataSettings` and `WebDavSettings` components to use the new i18n keys for time intervals.
   - Improved the `Select` dropdown for sync intervals with dynamic pluralization based on locale.
   - Adjusted input field widths for better alignment and consistency.

 - Code Cleanup:
   - Removed redundant comments and unused code in `WebDavSettings.tsx`.
   - Simplified button and input styling for a cleaner layout.
2025-02-18 16:22:53 +08:00
ousugo
14680f98e4 fix: Clicking the taskbar icon while enable the Quick Assistant can't open the main window 2025-02-18 16:01:10 +08:00
ousugo
da67f2a863 feat: Add kimi-latest model support in vision and model logos 2025-02-18 15:50:01 +08:00
kangfenmao
040dcb836e style: Adjust horizontal message layout display property 2025-02-18 15:48:13 +08:00
Teo
59cbb894ea style: 优化聊天窗口UI (#1881) 2025-02-18 11:43:42 +08:00
MyPrototypeWhat
4c6cc4140c feat: Conditionally hide thinking loader for paused messages (#1875)
Co-authored-by: lizhixuan <zhixuan.li@banosuperapp.com>
2025-02-18 11:10:48 +08:00
kangfenmao
e5ace39a75 chore(version): 0.9.25 2025-02-18 10:41:44 +08:00
kangfenmao
75af101bbc feat: Add size prop to MessageThought Collapse component 2025-02-18 10:12:30 +08:00
kangfenmao
a8853a2322 fix: Handle undefined provider in model name generation 2025-02-18 09:56:26 +08:00
kangfenmao
cb381bda5e feat: Improve system prompt styling with theme-aware background 2025-02-18 09:42:52 +08:00
icinggslits
c519edce64 feat: Backspace deletes clipboard text in MiniApp 2025-02-18 08:13:56 +08:00
icinggslits
0521aa0bca fix: init zoom 2025-02-18 08:11:38 +08:00
ousugo
d4b49f5b56 refactor: Improve PromptPopup text area focus and cursor placement 2025-02-18 08:10:58 +08:00
ousugo
978306ab4e feat: Improve text edit popup focus and cursor placement 2025-02-18 08:10:58 +08:00
kangfenmao
5d82029e56 refactor: Extract message group menu bar into a separate component 2025-02-17 23:21:24 +08:00
kangfenmao
ea11591f75 fix: Adjust paragraph margin when followed by list 2025-02-17 23:08:17 +08:00
kangfenmao
ebe3980bac fix: Conditionally render message group border based on popover state 2025-02-17 23:02:49 +08:00
Chen Tao
d263d2078a feat: add knowledge base filter (#1822)
* feat: add search filter

* chore
2025-02-17 22:18:10 +08:00
kangfenmao
17891d20c7 refactor: Extract message group settings into a separate component 2025-02-17 22:14:47 +08:00
luwux
cfc9c42c8d improvement(shortcut): Supports Option + Space on Mac
Supports the Option (⌥) + Space shortcut, as it's the default shortcut for ChatGPT Desktop app to show popup.
2025-02-17 19:04:08 +08:00
ousugo
8f3e17a003 feat: Add page title for Cherry Studio, resolve #1222 2025-02-17 19:02:56 +08:00
rebecca554owen
25a3cd5073 fix 2025-02-17 18:38:22 +08:00
kangfenmao
83ddb8e161 feat: Add grid mode settings for message display 2025-02-17 18:35:36 +08:00
kangfenmao
43375058af feat: Enhance Notion settings with placeholders and help icon 2025-02-17 17:19:24 +08:00
kangfenmao
914f83183e feat: update knowledge base file upload hint text 2025-02-17 16:50:34 +08:00
FischLu
368177e587 feat: improve model mention autocomplete behavior under IME 2025-02-17 16:38:44 +08:00
duanyongcheng
ce421dbe78 feat: show provider in mesage 2025-02-17 16:38:00 +08:00
Chen Tao
2e8af9ef26 feat: allow knowledge base multiple search #1346 (#1773)
* feat: agent can select multiple knowledge bases

* feat: basic search multiple knowledge base

* fix bug: knowledge base is delete, assistants and agents sync delete

* fix bug: assistant and knowledge base button sync

* feat: allow to search multiple knowledge base

* chore: finish rebase to upstream/main
2025-02-17 16:36:25 +08:00
cl1107
194a2e1d3a feat: Add a new grid mode for message display. (#1626)
* chore(version): 0.9.23

* feat(renderer): 新增网格模式的消息展示方式

* feat(message): 新增消息网格展示相关设置

* 根据 gridPopoverTrigger 属性动态设置消息分组的样式

* 在 MessageMenubar 组件中,各个按钮 click 事件阻止事件冒泡,避免打开 popover

* 多模型回答样式添加网格模式并优化消息样式

---------

Co-authored-by: kangfenmao <kangfenmao@qq.com>
2025-02-17 16:36:01 +08:00
首都爱护动物协会
f0ada3c9fe update provider info 2025-02-17 16:21:09 +08:00
ousugo
2842d439cd fix: open current webview URL when launching external link 2025-02-17 16:20:12 +08:00
ousugo
34ba72d1fa fix: Clicking the help button always opens a new webview
(cherry picked from commit 4939afafabcbfb294f00d21053939cad8238731e)
2025-02-17 16:19:31 +08:00
ousugo
8905f34350 fix: update Baidu API key URL in provider configuration, resolve #1794 2025-02-17 11:55:53 +08:00
George·Dong
8de58048c8 fix: 修复切换助手时无法正确切换到助手默认模型的问题 (#1776) 2025-02-17 11:28:17 +08:00
Shelly
532139f4cb fix: 修复同名模型选择问题 (#1772)
1. 同名模型显示的供应商名称问题
2. 同名模型不同供应商不能被同时选择

Co-authored-by: duanyongcheng <duanyongcheng77@gmail.com>
2025-02-17 09:47:01 +08:00
Wenwei Lin
616b95f8fa feat: support json and draftsExport file in knowledge base (#1717) 2025-02-17 08:25:07 +08:00
ousugo
51692ad3a4 feat: Expand reasoning model regex to include 'thinking' keyword 2025-02-17 08:16:47 +08:00
ousugo
35b9726b29 fix: sidebar navigation and active state handling
- 当固定在侧边栏的小程序被打开时,对应图标显示为被选中
- 修复点击两次主题切换按钮会导致当前 Webview 被错误关闭的问题
- 修复当 Webview 处于打开状态,点击侧边栏按钮无法立即跳转到对应界面的问题
- 修复打开帮助文档,其按钮没有显示为被选中的问题
- 修复在设置界面时打开帮助文档,设置按钮继续显示为被选中的问题
2025-02-17 08:15:03 +08:00
ousugo
3f8ac280e6 fix: correction of the capitalization of Perplexity names 2025-02-17 08:13:56 +08:00
ousugo
ed7eb361e3 fix: Fix the miniapp sorting problem, resolve #1725
- 修复小程序拖动排序不生效的问题
- 修复小程序拖动排序时列表滚动排序不生效的问题
2025-02-17 08:13:56 +08:00
kangfenmao
421540eec0 style: Enhance scrollbar appearance in mention models dropdown 2025-02-16 13:56:10 +08:00
FischLu
0937700537 refine code 2025-02-16 13:54:32 +08:00
FischLu
3f656ab202 feat: implement select mode menu autoscroll for long mode lists 2025-02-16 13:54:32 +08:00
kangfenmao
87bce69a13 Revert "fix: Improve the @ model list experience"
This reverts commit efba601f0f.
2025-02-16 13:54:09 +08:00
bfdyanshe
50cd93cf62 fix: Separate EPUB files into dedicated book file extension category 2025-02-16 13:46:52 +08:00
bC2y5tal
7a7f51d5f3 feat: Add EPUB file support to document loader 2025-02-16 13:46:52 +08:00
icinggslits
6a7ec6d8ba improvement(shortcut): Support more keyboard shortcuts 2025-02-16 13:45:03 +08:00
icinggslits
d4129816ce add usableEndKeys 2025-02-16 13:45:03 +08:00
kangfenmao
8605e9ae44 feat: Enhance topic handling and message prompt generation 2025-02-16 13:41:31 +08:00
kangfenmao
ba65ce74cc feat: Improve knowledge base threshold tooltip and input 2025-02-16 12:20:08 +08:00
kangfenmao
dbfdfa0655 chore: Update store migration for Coze minapp 2025-02-16 12:14:20 +08:00
Chen Tao
c3220a7d64 feat: 添加知识库匹配度阈值 (#1634)
* feat: 添加知识库匹配度阈值

* fix: 增加问答时知识库阈值

* feat: 当知识库未检索到数据时使用通用对话逻辑

* fix: add toast
2025-02-16 11:38:00 +08:00
Avan
912eb3c264 style: add bot.n.cn logo 2025-02-16 11:36:58 +08:00
Avan
1cd808a326 feat: add bot.n.cn 2025-02-16 11:36:58 +08:00
George·Dong
9dcc295ffc feat: Add Coze minapp 2025-02-16 10:38:28 +08:00
yangtb2024
ab4beb2d9b fix: 窗口较小时,工具显示适配问题 2025-02-16 10:35:45 +08:00
kassadin
97ea84a0a6 fix: unregister global shortcuts 2025-02-16 10:34:24 +08:00
jyeric
f4b4ef065b Fix: Font size and Latex problem, resolve CherryHQ#1034 CherryHQ#1596 (#1723) 2025-02-15 22:55:43 +08:00
Wenwei Lin
dc3c2ccb9c fix: add ellipsis in knowledge base item (#1718) 2025-02-15 22:51:07 +08:00
Wenwei Lin
9a38c97552 fix: support html file in knowledge base (#1703) 2025-02-15 22:50:05 +08:00
美兰十三
50727025c3 feature: add topic prompt (#1696)
* feat: 新增话题补充提示词

* feat: 新增话题补充提示词

* feat: 新增话题补充提示词

* feat: 新增话题补充提示词

* feat: 新增话题补充提示词
2025-02-15 08:21:59 +08:00
icinggslits
80a2fdc812 调整show_app快捷键功能的交互逻辑 2025-02-15 08:17:18 +08:00
kangfenmao
7cee1a2bbf Revert "fix: 网页链接附带中文标点解析错误"
This reverts commit eb9edc10b8.
2025-02-15 01:30:13 +08:00
kangfenmao
cab7318c77 fix: Improve handling of 'undefined' values in JSON parsing 2025-02-15 01:25:59 +08:00
eeee0717
eb9edc10b8 fix: 网页链接附带中文标点解析错误 2025-02-15 01:06:32 +08:00
kangfenmao
160872e1c4 feat: Add LM Studio and ModelScope as system LLM providers
- Update llm.ts to include LM Studio and ModelScope in initial system providers
- Modify migrate.ts to add migration logic for adding these new providers
- Ensure providers are added only if they don't already exist in the configuration
2025-02-15 01:03:09 +08:00
kangfenmao
3752dbd962 fix: Correct migration version configuration 2025-02-15 00:55:07 +08:00
Yihong Wang
0dab0fe437 feat: Add NotebookLM to MinApps solve #1679 2025-02-15 00:52:47 +08:00
eeee0717
9d4b6d07fd fix: 分组和非分组逻辑修改 2025-02-15 00:33:39 +08:00
eeee0717
25acc20a32 fix: Switching model does not work 2025-02-15 00:33:39 +08:00
ousugo
b0ba66f708 feat: Improve textarea cursor positioning on focus 2025-02-15 00:31:36 +08:00
ousugo
efba601f0f fix: Improve the @ model list experience
- 修复使用方向键上下移动时,列表不随之滚动的问题
- 添加滚动条
2025-02-15 00:29:32 +08:00
Konjac-XZ
5b03d99655 fix: Translation error when passing empty user messages to certain models.(Refined) 2025-02-15 00:24:17 +08:00
kangfenmao
6e889f4cca refactor: Improve provider removal logic in LLM store 2025-02-14 14:49:34 +08:00
ousugo
382b4570cf perf: Add new Infini AI models to system models list 2025-02-14 14:37:57 +08:00
ousugo
c83797fca4 feat: Add reasoning model filter in EditModelsPopup 2025-02-14 14:30:48 +08:00
kangfenmao
12c47102ea refactor: Improve provider settings and menu handling 2025-02-14 13:35:58 +08:00
kangfenmao
094d6f7dcd style: Adjust group menu bar styling 2025-02-14 13:18:16 +08:00
kangfenmao
b25137cfbb feat: Add ModelScope provider to LLM providers list 2025-02-14 13:13:32 +08:00
Col0ring
60205f1fa0 feat: add modelscope provider (#1563)
Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-02-14 13:12:46 +08:00
kangfenmao
fef2acf712 feat(notion): Add divider to Notion settings page 2025-02-14 13:08:47 +08:00
Trey Dong
f44e7e6a14 feat(notion): 添加 Notion连接检查功能 (#1620)
- 在 Notion 配置页面添加"检查"按钮
- 实现 Notion 连接检查逻辑
- 添加相关国际化文本
2025-02-14 10:52:16 +08:00
hehua2008
b1d577a0ac feat: Add LM Studio support (#1572)
Co-authored-by: hehua2008 <hegan2010@gmail.com>
Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-02-14 10:49:57 +08:00
FischLu
b532e19e68 feat: Implement circular selection in model selector 2025-02-14 10:40:03 +08:00
Asurada
2674cca6f0 feat: Add XiaoYi miniapp, resolve #1591 (#1595)
Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-02-14 10:37:42 +08:00
ousugo
fbd331fdf2 feat: Improve model search by adding name-based filtering, resolve #1520
搜索模型时,同时搜索模型的名字和 ID
2025-02-14 10:32:34 +08:00
kangfenmao
e449248846 chore: Update Vite config and remove deprecated migration code
- Exclude additional chunk in Electron Vite configuration
- Remove outdated migration logic for providers and MinApps
2025-02-14 10:31:24 +08:00
首都爱护动物协会
934b32fb46 add providers
新增服务商:
1.无问芯穹
2Perplexity
3.DMXAPI

补充部分embedding模型信息
2025-02-14 10:28:52 +08:00
shniubobo
412c449648 fix: Regression on reasoning time
PR #1253 fixed reasoning time calculation for APIs that return reasoning
content in `delta.content`, but introduced a regression for those
returning it in `delta.reasoning_content`. This commit fixes the
regression.

Fixes #1593
2025-02-14 10:26:54 +08:00
shniubobo
b846b809f2 fix: Remove trailing newline in codeblocks 2025-02-14 10:10:30 +08:00
Xin Rui
11e2a48f79 fix: translation error when passing empty user messages to certain models.. (#1612) 2025-02-14 10:09:47 +08:00
kangfenmao
9b74e88884 feat: Enhance file processing and loader configuration
- Remove image loader from dependencies
- Update file loading to skip image, video, and audio files
- Add logging for knowledge base file processing
- Modify common file extensions list
- Add type ignore for LocalPathLoader to resolve TypeScript issues
2025-02-13 17:49:06 +08:00
kangfenmao
6889ddbefc feat: Add file type not supported error message in multiple languages 2025-02-13 16:41:48 +08:00
kangfenmao
a9ee7c1d2b fix: Reset MinApp onClose handler when closing the app 2025-02-13 16:10:46 +08:00
kangfenmao
6e16ef9cc6 refactor: Remove unused onMaxTokensChange function 2025-02-13 14:02:36 +08:00
kangfenmao
ef633fca62 feat: Add useSidebarIconShow hook to conditionally render sidebar icons 2025-02-13 13:38:46 +08:00
kangfenmao
c5e31c9dfa feat: Add documentation link to sidebar with multilingual support 2025-02-13 13:27:25 +08:00
kangfenmao
dc82b3b970 feat: Improve token limit settings and knowledge base URL handling
- Update OpenAI package to version 4.77.3
- Add confirmation modal for max tokens setting
- Modify max tokens input to use InputNumber instead of Slider
- Update localization strings for max tokens and URL input
- Enhance knowledge base URL input to support multiple URLs
- Improve error handling and input validation
2025-02-13 13:12:51 +08:00
kangfenmao
0d8b8cf7e7 style: code format 2025-02-13 11:40:55 +08:00
Chen Tao
65596a355d feat: knowledge base support more file types (#1300)
* feat: knowledge base support more file types

* chore: add common document types

* feat: finish basic odloader

* feat: finish open document loader

* feat: support more type from dictionary

* fix: 删除目录时仍能检索到信息

* chore
2025-02-13 11:36:33 +08:00
Wenwei Lin
13a0fd0a65 fix: Label text was obscured in create agent page 2025-02-13 11:36:07 +08:00
Chen Tao
dab6271101 feat: add i18n sync script (#1538)
* feat: add i18n sync script

* chore
2025-02-13 11:34:23 +08:00
Asurada
c344261e17 feat: add google AI Studio minapp, resolve #832 (#1518)
* feat: add google AI Studio minapp, resolve #832

* fix: correct variable name for aistudio in migrateConfig
2025-02-13 11:28:51 +08:00
kangfenmao
5229cef35f feat: update AIHubMix OAuth and release workflow configuration 2025-02-12 18:24:57 +08:00
kangfenmao
fc1c49213b fix(i18n): use translation for API key error message 2025-02-12 18:24:39 +08:00
kangfenmao
60b462ae9d feat: remove auto reset model feature #1435
close #1435
2025-02-12 16:58:33 +08:00
kangfenmao
299cda7d44 feat: expand embedding model regex to include more model identifiers #1481
close  #1481
2025-02-12 16:39:35 +08:00
kangfenmao
52026c0772 feat: switch default math rendering engine to KaTeX #1485 2025-02-12 16:34:24 +08:00
kangfenmao
f748a1b274 fix(i18n): model exist error tip 2025-02-12 16:11:01 +08:00
kangfenmao
23bd78cc9c fix: openai o1 models not support max_token params
close #1378
close #1378
close #1340
close #1197
close #491
2025-02-12 15:59:42 +08:00
kangfenmao
4fe306d393 fix: doubao not support files type 2025-02-12 15:41:24 +08:00
kangfenmao
3229918d20 feat: WebDAV data backup and restore secondary confirmation #1326
close #1326
2025-02-12 15:19:21 +08:00
kangfenmao
19c8b484fd fix: update Ollama API endpoint URL 2025-02-12 14:56:59 +08:00
kangfenmao
5784f5bbd5 chore: update store migration and LLM providers 2025-02-12 14:52:45 +08:00
kangfenmao
f0b5a75387 docs: change knowledge base documents chunk max limit 2025-02-12 14:36:56 +08:00
cnJasonZ
ea4ce0c17c feat: add new model provider PPIO (#1359) 2025-02-12 14:14:56 +08:00
方程
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
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