Commit Graph

232 Commits

Author SHA1 Message Date
ChenRussell 0e1d08a14d fix: clear tag selection state when re-entering knowledge base 2026-02-03 10:41:08 +08:00
ice 98049ef091 style(ollama): optimize retest button icon alignment using #icon slot 2026-01-27 18:15:54 +08:00
wizardchen fcaad914ea fix: escape @ symbol in i18n strings 2026-01-27 11:09:53 +08:00
ice 7f39d28a33 fix(frontend): hide upload mask when drag leaves window
Use dragCounter to track drag enter/leave events properly.
The mask now hides when user drags file out of the browser window.

- Add dragleave event listener
- Use counter to handle nested element drag events
- Reset counter on drop and unmount

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:33:09 +08:00
wizardchen faf1c9a37b feat: add matched question field to FAQ search results 2026-01-26 16:32:18 +08:00
wizardchen 7d272cc92c feat: add retrieve KB only when mentioned option 2026-01-26 10:44:09 +08:00
wizardchen aa4af5365e feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
begoniezhao 15f98d214b refactor: Simplify content merging and align with backend logic 2026-01-16 16:50:54 +08:00
wizardchen 0ea9acfc2f feat: 支持删除文档类型标签 2026-01-15 19:38:16 +08:00
wizardchen 57d6fea8bc fix: 禁用 stdio 传输以防止命令注入风险 2026-01-15 14:49:19 +08:00
wizardchen 48a0f9b508 Merge remote-tracking branch 'github_public/main' 2026-01-15 14:39:35 +08:00
Xia Dong b648bd472c feat(knowledge): Enhance delete functionality with success callback
- Updated the delKnowledge function to accept an optional onSuccess callback for post-deletion actions.
- Modified the delCardConfirm function to refresh the document list and tag counts upon successful deletion.
2026-01-15 10:57:06 +08:00
Xia Dong 928d1c3d44 refactor(knowledge): Standardize formatting and improve code readability
- Reformatted the API functions in the knowledge base module for consistent indentation and spacing.
- Enhanced overall code readability without altering functionality.
2026-01-14 19:39:35 +08:00
Xia Dong cec722aa43 feat(knowledge): Add tag_id support for knowledge creation and file uploads
- Introduced tag_id parameter in various knowledge-related API functions to allow categorization of knowledge entries.
- Updated frontend components to handle tag_id during knowledge creation and file uploads.
- Enhanced UI store to manage the selected tag ID for better user experience in categorizing knowledge.
2026-01-14 19:39:35 +08:00
wizardchen 6c9d31496f feat: 添加FAQ导入成功条目详情展示 2026-01-14 17:16:53 +08:00
wizardchen 0f35ffccc6 feat: 优化FAQ导入结果卡片UI与功能 2026-01-14 17:14:50 +08:00
wizardchen 25247c67e5 fix: 修正删除标签使用正确的ID字段 2026-01-14 17:14:39 +08:00
wizardchen 8702cab035 refactor: 移除重复的导入结果统计卡片 2026-01-14 17:14:29 +08:00
wizardchen 6399d6ba0b fix: 修正FAQ标签过滤使用seq_id而非id的类型问题 2026-01-14 17:14:18 +08:00
wizardchen 14d7d3d995 feat: 为 FAQ 和标签引入 seq_id 支持 2026-01-14 17:13:44 +08:00
wizardchen 84a4ec62de refactor: 简化FAQ导入结果获取逻辑
将导入结果字段合并到FAQImportProgress结构体中,当状态为completed时自动填充。删除了独立的GetLastFAQImportResult接口和相关方法,客户端改为通过进度接口获取已完成任务的结果,并使用localStorage记录最后完成的任务ID。
2026-01-14 17:09:19 +08:00
wizardchen 9215c82d3b feat: 添加FAQ导入结果持久化展示功能 2026-01-14 17:09:19 +08:00
wizardchen 953e0c1a55 feat: 支持租户ID和关键词同时搜索 2026-01-14 17:09:19 +08:00
nullkey 37b2899f9d feat:add several mainstream model providers 2026-01-14 17:08:26 +08:00
nullkey 4f74e141e6 feat:add model provider GPUStack 2026-01-14 17:08:26 +08:00
nullkey 579b57d377 feat:add several mainstream model providers 2026-01-09 11:08:57 +08:00
nullkey 1d10d0395a feat:add model provider GPUStack 2026-01-09 11:08:57 +08:00
wizardchen b71e7084fd feat: 将未分类FAQ条目转为"未分类"标签 2026-01-07 11:08:59 +08:00
wizardchen 20e7b36202 feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
wizardchen f07259a423 fix: 移除重复的 Agent 提示文本 2026-01-05 10:38:14 +08:00
wizardchen 20499d0d2e refactor: 统一标签列表渲染逻辑,移除重复的未分类标签处理代码 2026-01-05 10:38:14 +08:00
wizardchen 4ffda00a86 feat: 改进未分类标签的处理逻辑
将未分类标签从空字符串改为特殊标识符__untagged__,统一前后端处理逻辑
2026-01-04 20:14:56 +08:00
wizardchen c69290fafa fix: 修复中文本地化文件中占位符显示问题 2025-12-31 19:43:11 +08:00
wizardchen 8c5263aef9 refactor: 统一智能体未就绪消息处理逻辑 2025-12-31 19:43:11 +08:00
wizardchen d72b6997cb feat: 添加智能体文件类型限制,内置数据分析师智能体 2025-12-31 18:25:58 +08:00
wizardchen 884153aeb8 feat: 增强模型选择和错误处理机制
优化模型ID传递逻辑,支持请求级别的模型覆盖;完善流式响应的错误处理
2025-12-31 15:36:20 +08:00
wizardchen ffd83951ff feat: 新增全文合并视图模式
支持将重叠文档块智能合并为完整文档,优化Markdown渲染,新增全文/分块视图切换,移除代码块复制按钮
2025-12-31 15:36:20 +08:00
wizardchen 6a123f4620 feat: vite文件大小限制 2025-12-30 19:44:53 +08:00
wizardchen 8832d70e19 refactor: 移除模型锁定逻辑允许自由切换 2025-12-30 19:44:53 +08:00
begoniezhao a13c4a7af7 feat: add APK mirror configuration and enhance chunking separator options 2025-12-30 17:19:21 +08:00
wizardchen af471b5094 fix: 设置弹窗关闭时刷新模型列表 2025-12-30 14:35:10 +08:00
wizardchen 89e75bb6fe feat: 优化内置智能体配置同步机制
改进内置智能体与自定义智能体的配置合并逻辑,确保内置智能体能正确应用API配置和默认值,同时优化了系统提示词的分离管理。
2025-12-30 14:35:10 +08:00
wizardchen b107b452b2 style: 调整 MinIO 存储桶提示样式 2025-12-30 14:35:10 +08:00
wizardchen f9593fc050 feat: 支持列出MinIO 存储桶及权限 2025-12-30 14:35:10 +08:00
wizardchen 1f653ee5ad fix: 处理 Nginx 413 请求 2025-12-30 14:35:10 +08:00
wizardchen 6583861586 fix: 优化菜单删除逻辑并更新总数 2025-12-30 14:35:10 +08:00
wizardchen 6cf7cbcb9c feat: 添加可配置的文件上传大小限制
新增 MAX_FILE_SIZE_MB 环境变量统一控制文件上传大小,默认 50MB
2025-12-30 14:35:10 +08:00
begoniezhao 907e9a5522 feat: Add DataSchema tool for retrieving schema information from CSV and Excel files 2025-12-29 20:03:51 +08:00
wizardchen c9a6c3134a Merge branch 'custom_agent' 2025-12-29 17:01:23 +08:00
nullkey e9a2a7b3e5 feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00