112 Commits

Author SHA1 Message Date
zhaoweijie
2b4885ae2d refactor(iod): 重构数联网相关组件和逻辑
-优化了 Data、Scene 和 Team组件的逻辑,使用 currentIodMessage 替代复杂的条件判断- 改进了 IodRelevant 组件的动画和数据处理方式
- 调整了 Message 组件以支持数联网搜索功能
- 重构了 PlaygroundIodProvider,简化了上下文类型和数据处理
- 更新了数据库相关操作,使用新的 HistoryMessage 类型
- 新增了 IodDb 类来管理数联网连接配置
2025-08-24 19:00:49 +08:00
zhaoweijie
f9763778fa refactor(components): 重构碘搜索相关组件
- 优化 IodRelevant 组件中的加载状态和计数器动画
- 重构 PlaygroundIod 组件,使用新的 PlaygroundIodProvider 组件
- 改进 Context 提供的数据结构,使用更准确的命名
2025-08-24 13:04:43 +08:00
zhaoweijie
cb6c3c225b refactor(web): 优化 IOD 相关组件和 hooks
- 修改 IodRelevant 组件,根据搜索状态动态显示文本
- 更新 useMessage hook,添加调试断点
- 重构 iod.ts 中的 IoDSources 处理逻辑
2025-08-24 12:44:02 +08:00
CaiHQ
ecb90d9035 update search hint 2025-08-23 23:20:08 +08:00
CaiHQ
e21c52cb22 update data and team 2025-08-23 20:47:04 +08:00
zhaoweijie
a9d1f1a94f feat(i18n): 优化国际化文案并调整 UI 样式
- 修改系统重置文案为清除最近对话
- 优化历史记录列表样式,增加截断显示
- 调整卡片阴影样式
- 在头部增加收藏、分享和消息的 Tooltip 提示
2025-08-23 20:39:40 +08:00
zhaoweijie
50af75d347 refactor(components): 重构 Playground组件中的数据展示逻辑
-移除了 useEffect 钩用,改用函数式组件的按需渲染
- 优化了 Header组件的点击事件处理,提高代码复用性
- 统一了数据加载和展示的逻辑,提升组件可维护性
2025-08-23 20:22:01 +08:00
zhaoweijie
e0e41d7e21 feat(components): 新增图标组件并优化历史记录功能
- 新增 Bell、Collect 和 NotCollect 图标组件
- 优化 History 组件,添加隐藏 logo 功能
- 调整 Message 组件样式,移除不必要的代码
- 更新 Scene 组件 Header 颜色
- 注释掉 tailwind.css 中的 arimo 字体权重
2025-08-23 20:11:11 +08:00
zhaoweijie
e640b1254d refactor(components): 重构 playground组件
- 移除 Data、Scene 和 IodRelevant 组件中的 Drawer
- 优化 Data、Scene 和 IodRelevant 组件的结构
- 添加 Header 组件用于展示标题和关闭按钮
- 使用 Main 组件替代原来的 ShowCard 组件
- 调整样式和布局,提高组件的可复用性和可维护性
2025-08-23 17:03:14 +08:00
zhaoweijie
6fb71b01f0 feat(components): 新增 Drawer 组件并优化 Playground 页面
- 新增 Drawer 组件用于创建可滑动的抽屉式界面
-优化 Playground 页面布局和样式,增加 logo 和 frosted glass 效果
- 添加统计卡片组件和动画效果,提升用户体验
- 新增数据项目图标组件
2025-08-22 21:28:40 +08:00
zhaoweijie
17020e8755 feat(iod): 重构数联网搜索功能
- 新增数联网设置页面
- 优化数联网搜索结果展示
- 添加数据集、科创场景和科技企业等不同类型的搜索结果
- 重构搜索结果卡片组件,支持加载状态和不同展示模式
- 更新数联网搜索相关的国际化文案
2025-08-22 17:15:19 +08:00
zhaoweijie
efbf2a3eff feat/playground: 重构 playground组件
- 更新 Data 和 History组件的样式和布局
- 添加新的功能和交互,如热门搜索和智能体选择
- 优化组件性能和可维护性
2025-08-21 14:12:29 +08:00
zhaoweijie
df0bf51bdf refactor(layout): 优化团队页面布局和滚动
- 在 Team组件中添加 overflow-y-auto 以启用垂直滚动
- 在 Playground组件中调整网格布局,移除不必要的导入
- 优化消息列表布局,确保内容可以滚动
2025-08-21 14:08:40 +08:00
zhaoweijie
48404fb316 refactor(components): 重构历史记录组件和 playground 布局- 更新 History 组件样式和动画效果
- 调整 Playground 布局结构
-优化 Sidebar 聊天记录样式
2025-08-21 14:08:40 +08:00
zhaoweijie
1104fb2733 refactor(layout): 重构布局组件并添加新功能
- 更新 Header 组件,增加项目标题和历史记录切换按钮
- 新增 DataNavigation 组件用于数据导航
- 添加 Playground 相关新组件,包括数据、场景、团队等信息展示
- 重构 Layout 组件,使用 Context 管理历史记录状态
- 更新 zh/option.json 文件,添加新的项目标题和对话相关翻译
2025-08-19 16:20:37 +08:00
CaiHQ
2866bcc7af feat: mock 4 button 2025-02-24 10:02:12 +08:00
Nex Zhu
e8471f1802 feat: add IoD search 2025-02-14 18:17:12 +08:00
n4ze3m
084b859e3e feat: add option to remove reasoning tag from TTS output 2025-02-09 13:00:04 +05:30
n4ze3m
40698e02d7 feat: update version to 1.4.6 and enhance code block component with download and copy sticky support 2025-02-08 12:48:49 +05:30
n4ze3m
a46156847d feat: add bottom fade mask utility and enhance Playground layout 2025-02-07 23:49:40 +05:30
yz778
1b6d4a344a fix: fix some typos 2025-02-02 22:03:01 -08:00
n4ze3m
7264f30d81 fix: Remove reasoning tag from tts utterance 2025-02-02 14:51:52 +05:30
n4ze3m
80f5812355 fix: Adjust visibility styles for PlaygroundMessage component in preparation for v1.4.5 release 2025-02-01 12:30:05 +05:30
n4ze3m
342d544e30 feat: Add Baidu search engine 2025-02-01 11:22:12 +05:30
yz778
509a73238e Whitespace fix 2025-01-31 20:04:28 -08:00
yz778
be6b539787 fix: Fix layout shift cause by hovering over icons + misc items 2025-01-31 20:00:16 -08:00
n4ze3m
7b6b6751cc feat: Add error handling to fetch advanced Ollama settings data 2025-01-24 22:46:36 +05:30
n4ze3m
97daaf9dc2 feat: Add reasoning UI 2025-01-24 22:29:18 +05:30
n4ze3m
6be1b2b0de feat: Add DeepSeek provider and icon to the application 2025-01-19 12:33:26 +05:30
n4ze3m
84e123bf38 feat: Add aria-labels for accessibility in PlaygroundMessage component 2025-01-11 23:44:43 +05:30
n4ze3m
9674b842ef feat: Add Ollama model settings for tfsZ, numKeep, numThread, and useMlock 2025-01-05 15:11:43 +05:30
n4ze3m
1d9d704c76 feat: Add Mistral provider support
feat: Update manifest version to 1.4.1
2025-01-04 20:16:23 +05:30
n4ze3m
aa49f03f63 feat: Add support for minP, repeatLastN, and repeatPenalty model settings 2024-12-28 17:38:52 +05:30
n4ze3m
f8bd740cfa feat: Adjust UI styles in PlaygroundForm and PlaygroundMessage components 2024-12-21 20:40:57 +05:30
n4ze3m
772000bff4 feat: Add support for Google AI (Gemini) as a custom model provider 2024-12-21 18:13:21 +05:30
n4ze3m
43b4f076e9 feat: Add more options for chat messages to copy, download chat entirely 2024-12-14 18:30:27 +05:30
n4ze3m
d45b279348 feat: Add SaveButton component to CurrentChatModelSettings 2024-12-01 17:57:09 +05:30
n4ze3m
5687517238 feat: Add save functionality for system prompt and model settings 2024-12-01 15:52:52 +05:30
n4ze3m
6d80798da9 feat: Add useMMap option to model settings 2024-11-30 20:17:03 +05:30
n4ze3m
64e88bd493 feat: Add support for chat mode in MessageSource component
This commit extends the `MessageSource` component to support the `chat` mode in addition to the existing `rag` mode. This allows the component to handle and display messages from both chat and RAG (Rapid Automated Generation) sources.
2024-11-16 19:33:20 +05:30
n4ze3m
c6a62126dd feat: Add LlamaFile support
Add support for LlamaFile, a new model provider that allows users to interact with models stored in LlamaFile format. This includes:

- Adding an icon for LlamaFile in the provider selection menu.
- Updating the model provider selection to include LlamaFile.
- Updating the model handling logic to properly identify and process LlamaFile models.
- Updating the API providers list to include LlamaFile.

This enables users to leverage the capabilities of LlamaFile models within the application.
2024-11-10 14:02:44 +05:30
n4ze3m
8fbdfc35d3 feat(settings): Use selected system prompt in current chat model temp system fallback
Adds support for using the currently selected system prompt in the current model settings. This allows users to fine-tune their chat experience based on their preferred prompt.
2024-11-09 18:09:47 +05:30
n4ze3m
fd654cafdb feat: Add max tokens setting for model generations
Adds a new setting to control the maximum number of tokens generated by the model. This provides more control over the length of responses and can be useful for limiting the amount of text generated in certain situations.
2024-11-09 16:56:47 +05:30
n4ze3m
9f383a81b6 feat: Add generation info to messages
This commit introduces a new feature that displays generation information for each message in the chat.

The generation info is displayed in a popover and includes details about the model used, the prompt, and other relevant information. This helps users understand how their messages were generated and troubleshoot any issues that may arise.

The generation info is retrieved from the LLM response and is stored in the database alongside other message details.

This commit also includes translations for the generation info label in all supported languages.
2024-11-09 15:17:59 +05:30
n4ze3m
65ba2ff898 feat: add save and send functionality for user message
Adds a "Save" button to the edit message form in Playground, allowing users to save changes without immediately submitting them. This also introduces a new `isSend` flag to the `onEditFormSubmit` prop, enabling developers to control whether a message should be sent immediately or saved for later submission. This enhances flexibility and user control during the message editing process.
2024-11-03 23:38:41 +05:30
n4ze3m
9cc309e9fd feat: Add code download functionality
Adds a new "Download Code" button to the code block component, allowing users to download the code displayed for offline use.

This feature enhances user convenience and provides a more versatile experience for exploring and utilizing code snippets.
2024-10-26 15:37:02 +05:30
n4ze3m
a2f9002b81 feat: enhance playground UI
Refine the Playground's UI to improve user experience:

- Streamline chat window layout for better message readability
- Introduce a knowledge selection dropdown for easier context setting
- Improve image upload integration for a smoother workflow
- Optimize spacing and styling for a more polished visual appearance
2024-10-20 17:45:56 +05:30
n4ze3m
7be993c057 feat: Add HTML preview to code blocks
Adds an HTML preview feature to the code block component, allowing users to view the rendered output of their HTML code snippets. This improves the user experience by providing a more interactive and informative way to understand the code.
2024-10-19 23:54:09 +05:30
n4ze3m
d83ba79035 refactor add modal 2024-10-13 16:10:52 +05:30
n4ze3m
f1e40d5908 feat: Add OpenAI provider support 2024-10-12 18:28:29 +05:30