24 Commits

Author SHA1 Message Date
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
1104fb2733 refactor(layout): 重构布局组件并添加新功能
- 更新 Header 组件,增加项目标题和历史记录切换按钮
- 新增 DataNavigation 组件用于数据导航
- 添加 Playground 相关新组件,包括数据、场景、团队等信息展示
- 重构 Layout 组件,使用 Context 管理历史记录状态
- 更新 zh/option.json 文件,添加新的项目标题和对话相关翻译
2025-08-19 16:20:37 +08:00
Nex Zhu
e8471f1802 feat: add IoD search 2025-02-14 18:17:12 +08:00
n4ze3m
a46156847d feat: add bottom fade mask utility and enhance Playground layout 2025-02-07 23:49:40 +05:30
n4ze3m
97daaf9dc2 feat: Add reasoning UI 2025-01-24 22:29:18 +05:30
n4ze3m
0a5144e784 fix: Adjust height of message container in PlaygroundChat component 2024-12-21 20:44:18 +05:30
n4ze3m
fd6eea3e84 feat: Add Brave Search API support 2024-12-13 20:03:52 +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
f5f0157260 fix: scroll issue playground 2024-07-14 23:13:48 +05:30
n4ze3m
a3810cd534 Update import statement in local-duckduckgo.ts, prompt.tsx, wxt.config.ts, webui.tsx, PlaygroundChat.tsx, other.tsx, Markdown.tsx, and useMessageOption.tsx 2024-04-11 00:08:20 +05:30
n4ze3m
d6d2eae5ef knownledge preview 2024-04-06 20:18:46 +05:30
n4ze3m
b33ee0366c Migrated to WXT 2024-03-23 14:44:05 +05:30
n4ze3m
78c44e13b0 Add edit functionality to PlaygroundMessage component 2024-03-16 00:30:41 +05:30
n4ze3m
0351beeaae Delete unused files and update API calls 2024-03-03 19:55:43 +05:30
n4ze3m
094615498c Add @mantine/hooks dependency and update PlaygroundChat component 2024-02-25 21:17:27 +05:30
n4ze3m
43f3727369 Add lucide-react package and remove unused icons 2024-02-25 18:44:47 +05:30
n4ze3m
06b32176a9 Add dependencies and update code for PDF parsing and searching 2024-02-25 00:12:46 +05:30
n4ze3m
b54527cab5 Add deleteChatHistory method to PageAssitDatabase class and systemPromptForNonRagOption functions to ollama service 2024-02-07 21:07:41 +05:30
n4ze3m
58966355c3 Update dependencies and fix styling issues 2024-02-07 00:11:07 +05:30