47 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
e0e41d7e21 feat(components): 新增图标组件并优化历史记录功能
- 新增 Bell、Collect 和 NotCollect 图标组件
- 优化 History 组件,添加隐藏 logo 功能
- 调整 Message 组件样式,移除不必要的代码
- 更新 Scene 组件 Header 颜色
- 注释掉 tailwind.css 中的 arimo 字体权重
2025-08-23 20:11:11 +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
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
97daaf9dc2 feat: Add reasoning UI 2025-01-24 22:29:18 +05:30
n4ze3m
84e123bf38 feat: Add aria-labels for accessibility in PlaygroundMessage component 2025-01-11 23:44:43 +05:30
n4ze3m
f8bd740cfa feat: Adjust UI styles in PlaygroundForm and PlaygroundMessage components 2024-12-21 20:40:57 +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
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
ff371d6eef feat: Add OpenAI Provider Selection
Add a provider selection dropdown to the OpenAI settings, enabling users to choose from pre-configured options like "Azure" or "Custom." This streamlines setup and allows for more flexibility in configuring OpenAI API endpoints. The dropdown pre-populates base URLs and names based on the selected provider.

The dropdown also automatically populates base URLs and names based on the selected provider, further simplifying the configuration process.
2024-10-12 16:53:42 +05:30
n4ze3m
3f61c6afc2 feat: Add citations display to playground message
Adds a collapsible section to the playground message that displays citations for the response. This is intended to help users better understand the sources used by the model.
2024-08-31 21:06:32 +05:30
n4ze3m
1bb6d3a89a feat: Add tag colors for custom and copilot prompts in PromptBody component 2024-08-04 11:23:29 +05:30
n4ze3m
58304d9ca7 feat: Update translations for copilot context menu options 2024-08-03 23:51:17 +05:30
n4ze3m
ac9c9ca887 feat: copilot context menu for tool 2024-08-03 23:00:57 +05:30
n4ze3m
d41ec2a89c feat: Add Chrome AI support 2024-06-30 20:45:06 +05:30
n4ze3m
cbea863cdb Fix whitespace formatting in Markdown.tsx, Message.tsx, useMessage.tsx, and useMessageOption.tsx 2024-04-20 23:50: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
d9ce1e2d2c Add new translations and update existing ones 2024-03-24 14:38:37 +05:30
n4ze3m
4aff7f991a Update package version and add hideEditAndRegenerate prop 2024-03-16 14:28:32 +05:30
n4ze3m
78c44e13b0 Add edit functionality to PlaygroundMessage component 2024-03-16 00:30:41 +05:30
n4ze3m
5b04e55a03 Refactor message appending logic in useMessageOption hook 2024-03-14 23:43:58 +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
1c980c4059 Update dependencies and import paths 2024-02-23 23:25:17 +05:30
n4ze3m
ecbff6093b manage model 2024-02-18 13:23:47 +05:30
n4ze3m
d7c85537e3 Add key prop to Image component and update speechToTextLanguage state 2024-02-15 00:44:42 +05:30
n4ze3m
f90df7a6c6 Update sidepanel styles 2024-02-07 23:22:06 +05:30
n4ze3m
58966355c3 Update dependencies and fix styling issues 2024-02-07 00:11:07 +05:30
n4ze3m
5958e10354 Add Sidepanel Settings Body component and update button styles in EmptySidePanel component 2024-02-04 00:56:42 +05:30
n4ze3m
be3a4ed256 Add @langchain/core dependency and update imports***
***Update SidepanelRouting to use dark mode***
***Add image support to PlaygroundMessage component
2024-02-03 17:51:11 +05:30
n4ze3m
ca84cc3b64 Add name property to Message type 2024-02-01 23:48:40 +05:30
n4ze3m
0aa4aefb08 v2 initial commit 2024-02-01 13:40:44 +05:30