Commit Graph

693 Commits

Author SHA1 Message Date
kangfenmao
afdaae4343 feat: enhanced search functionality with translation support 2024-10-29 00:40:44 +08:00
kangfenmao
4d81b51fcb fix: agents sort 2024-10-29 00:27:35 +08:00
kangfenmao
33738fa875 fix: add X-Api-Key headers #246 2024-10-28 23:33:20 +08:00
kangfenmao
0171b9acab fix: add claude-3-5-sonnet-latest support #247 2024-10-28 16:40:37 +08:00
kangfenmao
649008db5b fix: agents tabs not shown 2024-10-28 16:23:55 +08:00
首都爱护动物协会
18976238fd Update agents.json 2024-10-28 08:50:59 +08:00
kangfenmao
fd63666e77 feat: enhanced text wrapping and ant-input styling 2024-10-27 22:50:45 +08:00
kangfenmao
648cabf1c1 feat: update agents.json 2024-10-27 19:53:20 +08:00
kangfenmao
b1d9485c22 fix: fix stale state issue in chat component 2024-10-27 19:30:18 +08:00
kangfenmao
ab4445f59a feat: enhanced ui with translation and layout improvements 2024-10-27 19:13:54 +08:00
kangfenmao
1cbe342940 feat: use real file path 2024-10-27 18:58:23 +08:00
kangfenmao
7392d0aaa3 feat: scroll to bottom on messages page load 2024-10-27 18:33:01 +08:00
kangfenmao
01a201a79b fix: removed filter condition and messages from fetchchatcompletion() payload 2024-10-27 00:11:30 +08:00
kangfenmao
9fb91632be style: optimized performance and refined styles 2024-10-26 23:48:14 +08:00
kangfenmao
b4fdd1e8fa style: align tab content horizontally and ignore agents.json with prettier 2024-10-26 23:36:06 +08:00
kangfenmao
46e0b1c11e feat: update ui components with improved design and functionality 2024-10-26 23:14:33 +08:00
kangfenmao
d4ad748ef1 refactor: improved code readability for filtering agents 2024-10-26 22:38:31 +08:00
kangfenmao
cc6f5275b0 feat: add agents tabs and search 2024-10-26 22:33:47 +08:00
kangfenmao
03423a5600 feat: added icons to buttons for preview and download 2024-10-26 17:29:35 +08:00
kangfenmao
b2e73662eb refactor: messages completion 2024-10-26 17:12:06 +08:00
kangfenmao
279850ce79 fix: WebDAV 备份失败 maxBodyLength 限制 #243 2024-10-25 13:26:46 +08:00
kangfenmao
0e16aa1e86 docs: update documentation for a more inclusive environment and added japanese and chinese documentation 2024-10-25 00:09:01 +08:00
kangfenmao
151127ab53 fix: 新的滚动条组件 2024-10-24 23:08:11 +08:00
kangfenmao
37f56c71e8 chore(version): 0.8.3 2024-10-24 18:47:20 +08:00
kangfenmao
95bda6fdfb docs: update translation and api url tip 2024-10-24 16:19:47 +08:00
kangfenmao
fe77161a70 fix: 添加默认助手会添加两个 #238 2024-10-24 15:46:08 +08:00
kangfenmao
b400819d6a fix: 公式显示问题 #239 2024-10-24 15:33:04 +08:00
kangfenmao
c497586be6 fix: 添加默认助手会添加两个 #238 2024-10-24 15:05:13 +08:00
kangfenmao
f5e9d92610 feat: scrollbar 2024-10-24 14:58:13 +08:00
kangfenmao
e0d7eceaff fix: 公式又不居中了 #231 2024-10-23 20:49:22 +08:00
kangfenmao
c42d941f09 fix: 修复数据库和 store 数据不一致问题 2024-10-23 14:08:48 +08:00
kangfenmao
cb69ba6fcb fix: 汉语新解卡片 css 2024-10-22 19:53:59 +08:00
kangfenmao
25b7410f7a feat: 话题分享功能 #103 2024-10-22 19:01:46 +08:00
kangfenmao
85d820e6c7 fix: 文件保存相关问题 #208 2024-10-22 17:37:22 +08:00
kangfenmao
589702129e fix: scrollbar width 2024-10-22 16:03:13 +08:00
kangfenmao
31ff7000fd build: add pulish:artifacts command 2024-10-22 15:43:28 +08:00
kangfenmao
09ab3d3a8c feat: 智能体改进:名称、上下文支持、模型参数支持 #59 2024-10-21 23:21:46 +08:00
kangfenmao
a8b5deacc0 feat: add qwen2-vl modal vision support 2024-10-18 13:21:11 +08:00
kangfenmao
b8a6a69849 style: improved layout and functionality for the prompt editing field. 2024-10-17 16:52:18 +08:00
kangfenmao
6dd193a861 fix: remove some file extensions 2024-10-17 15:13:18 +08:00
kangfenmao
e0480e4d5b fix: java 格式文件上传支持 #201
close #201
2024-10-17 14:26:08 +08:00
kangfenmao
8e7f0f1e7b feat: Agents 页面改版 #198 2024-10-17 13:44:52 +08:00
kangfenmao
b406b363a1 feat: added human-readable file size formatting and unit support 2024-10-17 13:35:51 +08:00
kangfenmao
ffea63ecff fix: 检查更新按钮不生效 #184
close #184
2024-10-16 13:14:15 +08:00
kangfenmao
2da1aa60cd fix: removed unnecessary newline replacement
- Removed unnecessary newline replacement from input message content.
2024-10-16 11:23:58 +08:00
kangfenmao
90a69a12de fix: 点击清除上下文直接跳转到最下面 #192
close #192
2024-10-16 09:53:56 +08:00
kangfenmao
75a87039b0 feat: added new translations and api url handling features
- Added new translation strings for API URL actions and hints.
- Updated Chinese translations and added new provider API URL descriptions.
- Added new translations for API URL preview and reset tip.
- Added support for Open AI API settings preview and hint.
- Added a new isOpenAIProvider function to handle specific provider type checks.
- Added a new function to validate if a given URL has a valid non-root path.
2024-10-15 21:14:19 +08:00
kangfenmao
be247e75c9 feat: added conditional rendering to messagetokens component
- Added conditional rendering to MessageTokens component.
- Added parameter 'isLastMessage' to MessageTokens component to determine conditional rendering based on message position.
2024-10-15 20:22:01 +08:00
kangfenmao
5e14cacea3 fix: code font size 2024-10-15 19:21:18 +08:00
kangfenmao
bb035750d6 feat: add show line number in code 2024-10-15 19:18:12 +08:00
kangfenmao
ffaa16fa88 feat: add license.html 2024-10-15 19:02:53 +08:00
kangfenmao
f38461d4d0 feat: add data settings 2024-10-15 18:56:09 +08:00
kangfenmao
b1b83d2d72 fix: webdav备份恢复的逻辑似乎有点问题 #178 2024-10-15 17:48:48 +08:00
kangfenmao
96d9da1f27 feat: add success message on new branch creation
- Added new functionality to emit success message upon creating a new branch.
2024-10-15 17:13:41 +08:00
kangfenmao
dfd3d8f19d feat: update translations and add new topic functionality 2024-10-15 16:33:15 +08:00
kangfenmao
11c7cdc749 feat: add default timestamps for topic updates
- Added default values for createdAt and updatedAt timestamps when updating topics.
2024-10-15 16:19:38 +08:00
kangfenmao
efd89db1c0 feat: added drag and drop file upload feature #190
- Added drag and drop file uploading functionality to input bar.

close #190
2024-10-15 16:15:59 +08:00
kangfenmao
2961796fb9 feat: enhanced model search in popup
- Improved search functionality for selecting models in the popup by modifying the filter criteria to include both model and provider names.
2024-10-15 15:55:15 +08:00
kangfenmao
5c0390b433 feat: improved data display and scrolling experience
- Increased file list pagination size to improve data display.
- Disable inline styles for Markdown content.
- Removed overflow functionality for a smoother scrolling experience.
2024-10-15 15:15:58 +08:00
1355873789
dcda4423c2 新增:腾讯混元服务商 2024-10-15 01:58:17 +08:00
kangfenmao
ad0538c253 fix: 一次上传多个文件 #183
close #183
2024-10-14 22:52:35 +08:00
kangfenmao
6f99612acf chore(version): 0.8.0 2024-10-14 14:57:19 +08:00
kangfenmao
21a13d54c8 feat: add artifacts preview 2024-10-14 14:37:04 +08:00
kangfenmao
0026293e69 feat: add event listeners and topic handling improvements #181
- Added event listeners for estimated token count and add new topic events.
- Updated default topic handling when clearing messages.
- Removed feature to add new topics directly in Navbar and replaced it with emitting an event to create a new topic.
- Added the functionality to add new topics, clear messages, and handle topic switching with improved conditional logic.
- The event constants configuration has been updated to include two new event names.
2024-10-14 10:39:14 +08:00
kangfenmao
f2fe5ad4f5 feat: add clear message menu to topic context menu 2024-10-14 10:19:48 +08:00
kangfenmao
630a18efe2 fix: DashScope upgrade 2024-10-14 09:57:56 +08:00
1355873789
52c29861ac chore: 更新 provider 名称, Dashscope 更新为 Bailian 2024-10-14 09:17:01 +08:00
kangfenmao
5d193c0ed6 fix: text input token caused stuttering 2024-10-13 00:50:28 +08:00
kangfenmao
3d46052db5 style: improved visual separation and aesthetic
- Added a border radius to scrollbar thumb styles for improved aesthetic.
- Updated the Divider component to include a border for better visual separation.
- Added border to the divider in SelectModelPopup for improved visibility.
2024-10-13 00:38:13 +08:00
kangfenmao
ffaff5b209 fix: 长文本输入时生成文件后文本依旧保留 #179 2024-10-12 23:22:32 +08:00
kangfenmao
d88df2c331 fix: 使用滚动条显示不全 #176 2024-10-12 17:42:16 +08:00
kangfenmao
a80970bb77 fix: 移除 input 等输入标签的渲染 2024-10-12 17:37:56 +08:00
kangfenmao
895324befc chore(version): 0.7.16 2024-10-12 15:31:21 +08:00
kangfenmao
30df5ad027 fix: 修复无法正常选择文本文档的问题 2024-10-12 14:56:17 +08:00
kangfenmao
7b0ad46c23 fix: 一键返回到消息顶部 #166
close #166
2024-10-12 14:03:06 +08:00
kangfenmao
9911602106 fix: 自定义界面字体 #158 2024-10-12 13:57:45 +08:00
kangfenmao
1b4486ebfc refactor: renamed model display names and fixed logic
- Renamed the display of model names to show the exact model name instead of capitalized first letter.
- Fixed logic to handle model name retrieval for assistant messages.
- Renaming of model display name to use the model's original name instead of a capitalized version.
- Removed unnecessary import and corrected label formatting in the options array.
2024-10-12 13:52:17 +08:00
kangfenmao
f2f31fe03e fix: 黑暗模式的启动页是白色的 #118
close #118
2024-10-12 13:40:34 +08:00
kangfenmao
643b4595d2 fix: o1模型设置使用优化 #172 2024-10-12 13:28:42 +08:00
kangfenmao
ff14651479 feat: add document files support 2024-10-12 13:18:53 +08:00
kangfenmao
051d46bf5d fix: old version of the backup file cannot be restored. 2024-10-12 10:09:52 +08:00
kangfenmao
ba2829e276 feat: add event handling to blur current target element after showing popup
- Added event handling to the onSelectModel function to blur the current target element after showing the SelectModelPopup.
2024-10-12 10:00:03 +08:00
kangfenmao
e5100e9547 feat: update release notes and add image preview component
- Updated release notes to reflect changes including image preview and download.
- Added interactive image preview component with toolbar for rotation, zooming, and downloading.
- Added support for image previews in Markdown rendering.
- Added functionality to download files from a URL with automatic filename detection and handling.
2024-10-12 09:53:20 +08:00
kangfenmao
acba7d56eb chore(version): 0.7.14 2024-10-11 23:22:51 +08:00
kangfenmao
c5ab9c3e79 feat: update release notes and fix issues
- This commit updates release notes to include new features and fix existing issues.
- Removed non-essential keyboard shortcuts from context menu items.
2024-10-11 18:04:08 +08:00
kangfenmao
259c425893 feat: add bolt minapp 2024-10-11 14:15:37 +08:00
kangfenmao
2c1b343425 style: updated ui styles and translations
- Adjusted padding styles in AssistantModelSettings component.
- The addition of a close button to the Assistant Prompt Settings component to enhance its functionality.
- Added OK callback event to AssistantPromptSettings component.
- Added translations for new UI elements.
- Updated translation data for Chinese language.
- Added new translations and updated existing values in the language file to incorporate additional features.
2024-10-11 14:05:50 +08:00
kangfenmao
6624e7c7df refactor: regenerate model on selection
- Updated the logic in the `onSelectModel` function to regenerate the model when a selection is made.
2024-10-11 13:49:06 +08:00
kangfenmao
1d4b2f698b fix: azure openai model provider wrong 2024-10-11 13:42:36 +08:00
kangfenmao
db4004611d feat: quickly select model 2024-10-11 13:31:14 +08:00
kangfenmao
9fbd92656c refactor: latex解析不支持矩阵环境 #169 2024-10-11 10:15:46 +08:00
kangfenmao
c2f7c7c46c fix: markdown表格目前还没有支持 br 换行 #160
close #160
2024-10-08 21:01:48 +08:00
kangfenmao
d284de0c2b feat: add azure openai provider 2024-10-08 20:14:50 +08:00
kangfenmao
ba16e6a84d chore(version): 0.7.12 2024-10-06 10:12:46 +08:00
kangfenmao
24f172a5a4 wip 2024-10-05 19:02:56 +08:00
kangfenmao
79c76bf95a feat: add topics history 2024-10-05 17:52:18 +08:00
kangfenmao
49cb03fb40 chore(version): 0.7.11 2024-09-30 22:33:58 +08:00
kangfenmao
1b3c52a508 fix: together ai models 2024-09-30 20:45:51 +08:00
kangfenmao
42fdfd8e0c fix: webdav backup path 2024-09-30 18:15:15 +08:00
kangfenmao
d292a336ce fix: merge migration versions 2024-09-30 13:37:55 +08:00
牡丹凤凰
e4b2052500 新增:模型服务商together (#148)
* 新增:模型服务商together

新增:模型服务商together
修复:providers为null或undefined时会抛出错误。

* 新增服务商:fireworks、360智脑、英伟达

* 新增:若干模型头像

* 谷歌其他系列模型匹配头像

* 1

* version+
2024-09-30 13:30:09 +08:00
kangfenmao
90455e55f2 fix: add markdown rendering input msg switcher #143 #142 2024-09-29 23:21:31 +08:00
kangfenmao
8e1972bfcd fix: paste long text issue 2024-09-29 22:37:33 +08:00
kangfenmao
0abcaabdfe feat: add assistant setting popup 2024-09-29 22:31:07 +08:00
kangfenmao
dde77d03e2 feat: add webdav settings component and backup user data files #69 2024-09-29 16:44:18 +08:00
dray
3027af1239 feat: 添加 WebDAV 配置项
为应用程序添加了 WebDAV 配置项,包括主机、用户、密码和路径。这样用户就可以将备份文件定时上传到 WebDAV 服务器,并从 WebDAV 服务器恢复备份文件。

- 添加了新的依赖项 "webdav": "^5.7.1"
- 修改了 package.json 文件
- 修改了 zh-tw.json、zh-cn.json 和 en-us.json 文件
- 修改了 settings.ts 文件
- 修改了 GeneralSettings.tsx 文件

https://github.com/kangfenmao/cherry-studio/issues/129
2024-09-29 09:27:42 +08:00
kangfenmao
4f2d2991a3 fix: context count 2024-09-28 22:01:09 +08:00
1355873789
cfc17e4d6e add new app(Felo) 2024-09-28 17:58:30 +08:00
牡丹凤凰
52248cb887 Update models.ts
fix: Confusion between Minimax and Hailuo logos
2024-09-28 11:21:01 +08:00
kangfenmao
f41f3dedcd fix: about page minapp logo 2024-09-27 22:44:45 +08:00
kangfenmao
4bddbb04ce feat: backup all files
1. remove window.api.compress window.api.decompress
2024-09-27 22:35:22 +08:00
kangfenmao
427d37a87a fix: minimax hailuo logo 2024-09-27 14:14:10 +08:00
牡丹凤凰
dc8d7a236d fix: correct display for non-vision GPT-4 models (#135)
* Update models.ts

feat: add matching rules for EMBEDDING_REGEX
fix: correct display for non-vision gpt-4 models

* Update models.ts

feat:add matching rules for gpt-4

* Update models.ts

feat:add matching rules for gpt-4

* Update models.ts

feat:add matching rules for gpt-4
2024-09-27 11:47:03 +08:00
kangfenmao
19821af7f9 refactor: MessageContent component 2024-09-27 00:25:45 +08:00
kangfenmao
a9bc03dbb6 fix: 在提问时携带图片会卡住软件 #108 2024-09-27 00:01:35 +08:00
kangfenmao
6a50f5bd21 fix: Assistant 的 Prompt 过长时会超出组件 #95
close #95
2024-09-26 23:29:04 +08:00
kangfenmao
4056d61f69 feat: check update settings #131
close #131
2024-09-26 23:17:21 +08:00
kangfenmao
d7db307f8a feat: edit message 2024-09-26 22:45:59 +08:00
kangfenmao
29ee364fc5 feat: translate settings persist 2024-09-26 19:15:26 +08:00
kangfenmao
f146fd075c fix: filter unsupported models 2024-09-26 15:12:47 +08:00
kangfenmao
2d46ca8a9b fix: remove filter messages 2024-09-26 14:55:09 +08:00
1355873789
4326bd1b9e 更新智谱清言APP logo 2024-09-26 08:40:07 +08:00
1355873789
8ad2cf613c 繁体中文支持 2024-09-26 08:40:07 +08:00
1355873789
4b9603d576 模型头像相关
修正部分模型头像错误
新增部分模型头像
2024-09-26 08:40:07 +08:00
牡丹凤凰
07dec23a02 Update providers.ts 2024-09-26 03:10:44 +08:00
kangfenmao
b35e37a170 chore(version): 0.7.8 2024-09-25 12:52:42 +08:00
kangfenmao
d1c70f2dc5 feat: auto-scroll to bottom on new messages, return null for empty suggestions
- Added functionality to automatically scroll to the bottom of the messages container upon receiving new messages.
- Return null when suggestions list is empty instead of displaying an empty container.
2024-09-25 12:33:03 +08:00
kangfenmao
bb43a99d4a feat: add hugging chat minapp 2024-09-25 12:09:51 +08:00
kangfenmao
fc528c7675 fix: auto scroll to bottom #120
close #120
2024-09-25 11:36:44 +08:00
kangfenmao
0a85b43c48 refactor: ant design styles separation 2024-09-25 11:29:38 +08:00
kangfenmao
dd60dfa872 feat: add streaming output options #93 2024-09-25 11:23:45 +08:00
kangfenmao
bf2005676d fix: gemini safety settings #110 2024-09-25 09:49:19 +08:00
kangfenmao
3452821fef feat: new providers logos 2024-09-25 00:21:20 +08:00
kangfenmao
e2367f1f0f feat: add ocoolai provider 2024-09-25 00:21:20 +08:00
kangfenmao
e23a525363 fix: transparent window 2024-09-25 00:21:20 +08:00
kangfenmao
60efe59a2d feat: improved layout and accessibility
- Added hidden overflow to HomePage content container for improved layout.
- Changed the upload list type to text to improve accessibility.
2024-09-25 00:00:34 +08:00
kangfenmao
8e48388c79 chore(version): 0.7.7 2024-09-25 00:00:34 +08:00
kangfenmao
86384cd8a7 style: removed background color from agentcard component
- Removed background color from AgentCard component.
2024-09-25 00:00:34 +08:00
kangfenmao
ad6770ceb5 feat: new vi logo 2024-09-25 00:00:34 +08:00
kangfenmao
5335ab555b fix: agent i18n tranlate 2024-09-25 00:00:34 +08:00
kangfenmao
eea0adbfcd fix: content container overflow 2024-09-24 23:59:38 +08:00
kangfenmao
32c03f9c83 feat: new model logo 2024-09-24 23:59:38 +08:00
kangfenmao
ef172e4446 feat: use rounded corner design 2024-09-24 23:59:38 +08:00
kangfenmao
b908a8f0f9 feat: fix siliconflow reset api url 2024-09-22 09:24:55 +08:00
kangfenmao
0300ef67d1 chore(version): 0.7.6 2024-09-22 00:44:47 +08:00
kangfenmao
95985b139b style: centered positioning and alignment added to modal and userpopup components
- Added centered positioning to Modal component in PromptPopup.
- Added centered alignment to UserPopup component.
2024-09-22 00:19:45 +08:00
kangfenmao
31626bde46 feat: export topic message as image #103 2024-09-22 00:16:36 +08:00
kangfenmao
d61b07dddf feat: add loading spinner #86
close #86
2024-09-21 21:07:50 +08:00
kangfenmao
7a5c72aab4 refactor: message component 2024-09-21 13:20:16 +08:00
kangfenmao
b9aeca7c13 feat: improved formula rendering with new escaping functions
- Improved formula rendering by removing unnecessary escaping of dollar numbers.
- Implemented two new string escaping functions to prevent incorrect LaTeX formula rendering.

#101
2024-09-21 10:27:32 +08:00