wizardchen
2d6efec84f
feat: enhance agent skills sandbox configuration and availability
...
- Updated .env.example to set default sandbox mode to 'docker' and added timeout and docker image variables.
- Modified docker-compose files to include a sandbox service for building and pulling the sandbox image.
- Adjusted frontend API to reflect sandbox availability for skills, ensuring UI elements are conditionally displayed based on sandbox status.
- Implemented backend logic to disable skills when the sandbox is not enabled, improving error handling and user experience.
2026-02-04 20:58:24 +08:00
nullkey
3f21345546
feat: adapt preloaded skills to smart-reasoning agent
2026-02-04 20:08:49 +08:00
wizardchen
aa4af5365e
feat: add thinking mode support for agents
2026-01-20 18:19:44 +08:00
wizardchen
fad72fc272
refactor: web search provider registry pattern
2026-01-20 18:19:44 +08:00
lyingbug
e5baf69624
Merge pull request #555 from lyingbug/main
...
FAQ Update
2026-01-15 20:09:20 +08:00
joeyczheng
b1633c836a
fix: concurrent map writes due to dig.Container is not thread safe
...
Signed-off-by: joeyczheng <joeyczheng@tencent.com>
2026-01-15 20:07:11 +08:00
wizardchen
48a0f9b508
Merge remote-tracking branch 'github_public/main'
2026-01-15 14:39:35 +08:00
wizardchen
879e582041
fix: 修正迁移脚本中的表名拼写错误
2026-01-15 14:33:43 +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
9338603c20
feat: 支持向 FAQ 条目添加相似问
2026-01-14 17:14:06 +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
042d860329
feat: 使用增强的任务ID生成器替换UUID
2026-01-14 17:09:19 +08:00
wizardchen
a63a2a8daf
refactor: 合并 FAQ 导入和验证逻辑
2026-01-14 17:09:18 +08:00
wizardchen
100484f13d
feat: 新增FAQ批量导入dry run功能
2026-01-14 17:08:49 +08:00
begoniezhao
a35999466c
refactor: Improve error handling and remove unused code
2026-01-14 17:08:26 +08:00
begoniezhao
26584ec508
refactor: Refactor retriever engine checks and expose mapping
2026-01-14 17:08:26 +08:00
begoniezhao
bd0fb766f8
refactor: Improve error handling and remove unused code
2026-01-14 14:21:32 +08:00
begoniezhao
389900af7e
refactor: Refactor retriever engine checks and expose mapping
2026-01-12 17:45:26 +08:00
wizardchen
be38966cbe
feat: 更新FAQ条目时返回更新后的数据
2026-01-07 11:50:57 +08:00
wizardchen
9af1fc18f5
feat: 支持复制知识库时指定任务ID
2026-01-05 17:04:47 +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
7cf5dfff6a
fix: 修复标签创建重复和流式响应解析问题
...
修复标签创建时未检查重复名称的问题,增加冲突错误返回。
优化流式响应中对引用数据的处理,支持序列化后的数据结构解析。
2025-12-31 15:36:20 +08:00
wizardchen
72a3cbb0ba
feat: 增加流式响应类型和工具调用支持
...
新增 LLMToolCall 和 FunctionCall 结构体支持工具调用,扩展 ResponseType 枚举添加多种响应类型,优化 StreamResponse 结构体增加会话和工具调用字段,并改进引用事件处理逻辑。
2025-12-31 15:36:20 +08:00
wizardchen
c5228acbab
refactor: 简化会话创建请求结构
...
移除会话策略和代理配置相关字段,仅保留标题和描述。会话现在作为独立的对话容器,配置由自定义代理在查询时动态提供。
2025-12-31 15:36:20 +08:00
wizardchen
d954ba22af
refactor: 转换 knowledgeRefs 为 References 类型
2025-12-31 15:36:20 +08:00
wizardchen
5ee5f5b4e4
refactor: 重构SSE流设置以支持标题生成选项
2025-12-31 15:36:20 +08:00
wizardchen
b0a9952785
feat: 添加禁用自动标题生成的选项
2025-12-31 15:36:20 +08:00
wizardchen
ac00206e77
feat: 支持FAQ两级优先级标签过滤
...
添加FAQ搜索支持两级优先级标签过滤功能,新增first_priority_tag_ids和second_priority_tag_ids字段,更新各检索器实现以支持按标签ID过滤,优化搜索结果排序确保优先级标签结果优先展示。
2025-12-30 19:44:53 +08:00
wizardchen
8bb98636a7
refactor: 重构桶策略解析逻辑以支持复杂策略
2025-12-30 14:35:10 +08:00
wizardchen
f9593fc050
feat: 支持列出MinIO 存储桶及权限
2025-12-30 14:35:10 +08:00
wizardchen
6cf7cbcb9c
feat: 添加可配置的文件上传大小限制
...
新增 MAX_FILE_SIZE_MB 环境变量统一控制文件上传大小,默认 50MB
2025-12-30 14:35:10 +08:00
wizardchen
c9a6c3134a
Merge branch 'custom_agent'
2025-12-29 17:01:23 +08:00
wizardchen
6c8e261a5f
feat: 支持知识库选择模式和标题生成模型配置
...
- 移除对rerankModel的强制检查,支持无知识库场景
- 优化知识库解析逻辑,优先处理用户明确指定的知识库
2025-12-29 14:35:13 +08:00
nullkey
e9a2a7b3e5
feat: 新增对多家平台的模型适配
2025-12-29 12:18:42 +08:00
wizardchen
6bc19ab082
feat: 统一系统提示词并优化智能体选择器界面
...
- 将系统提示词从分离的网络搜索开/关状态合并为统一提示词,使用 {{web_search_status}} 占位符动态控制行为
- 重构智能体选择器,从简单tooltip升级为内容丰富的popup,显示智能体详细信息、类型和能力
- 新增FAQ优先策略配置,支持FAQ答案优先于普通文档
- 优化知识库选择逻辑,智能体切换时自动同步配置的知识库
- 更新相关接口类型定义和国际化文本
2025-12-28 21:46:42 +08:00
wizardchen
0ca947981a
refactor: 调整智能体配置,增强智能体选择与状态管理
2025-12-26 21:31:02 +08:00
wizardchen
4c0846f9c7
feat: 增强标签删除功能,支持排除指定ID;新增异步索引删除任务优化删除流程
2025-12-25 22:07:42 +08:00
wizardchen
abfe87eaed
feat: 重构提示词模板系统,新增多场景模板配置支持;优化智能体知识库选择模式,支持全部/指定/禁用三种模式
2025-12-25 18:22:36 +08:00
wizardchen
1c1033101d
feat: 增强FAQ搜索功能,支持指定搜索字段(标准问题/相似问法/答案)
2025-12-24 20:47:08 +08:00
wizardchen
423cb3a2a3
feat: 增强知识库搜索功能,支持多知识库和指定文件ID搜索;优化SearchKnowledgeRequest结构,向后兼容单知识库ID参数
2025-12-24 20:47:08 +08:00
wizardchen
8430b9fa2d
feat: 新增FAQ列表排序功能,支持按更新时间升序/降序排列;优化标签名称批量查询,提升查询效率
2025-12-24 20:47:08 +08:00
wizardchen
c11b3e5b00
feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容
2025-12-24 20:47:08 +08:00
wizardchen
dc1ab5b81d
Merge branch 'master' into custom_agent
2025-12-24 15:53:04 +08:00
wizardchen
0bbd1450cc
feat: 增强FAQ搜索功能,支持指定搜索字段(标准问题/相似问法/答案)
2025-12-24 15:46:16 +08:00
wizardchen
e45b82e9be
feat: 增强知识库搜索功能,支持多知识库和指定文件ID搜索;优化SearchKnowledgeRequest结构,向后兼容单知识库ID参数
2025-12-24 15:46:16 +08:00
wizardchen
b2eec004c9
feat: 新增FAQ列表排序功能,支持按更新时间升序/降序排列;优化标签名称批量查询,提升查询效率
2025-12-24 15:46:16 +08:00
wizardchen
529b31da23
feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容
2025-12-24 15:46:16 +08:00
wizardchen
d0c5c4f6b0
feat: 新增智能体功能模块,支持自定义智能体创建、配置和选择
2025-12-24 10:34:41 +08:00
wizardchen
236b190b26
feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容
2025-12-23 11:25:39 +08:00
wizardchen
a36bf67166
feat: 新增环境变量DISABLE_REGISTRATION控制用户注册开关
2025-12-22 15:01:09 +08:00
wizardchen
ac21f81dda
feat: 新增API Key认证支持,优化Swagger文档安全配置
2025-12-22 15:01:09 +08:00
wizardchen
58ae0d8350
feat: 支持在消息流中展示@的知识库和文件
2025-12-22 13:11:31 +08:00
wizardchen
3c83cf9873
feat: 增强知识库和搜索功能的逻辑
2025-12-22 13:11:31 +08:00
wizardchen
de1ffa7f7c
feat: 支持输入框内选择知识库和文件,优化选择交互体验
2025-12-22 13:11:31 +08:00
wizardchen
ad450e6bce
feat: 重构FAQ导入进度,改用Redis存储任务状态
2025-12-22 13:11:31 +08:00
wizardchen
509582a4d5
feat: 知识库异步复制功能支持进度追踪和增量同步
2025-12-17 22:04:18 +08:00
wizardchen
a7df6900eb
feat: 完善Swagger API文档生成功能
2025-12-17 22:04:18 +08:00
wizardchen
ad6bd157fd
feat: 新增FAQ条目导出功能,支持CSV格式导出
2025-12-17 22:04:18 +08:00
wizardchen
c461a59ecd
feat: 新增FAQ推荐标签和批量操作支持,优化标签删除逻辑
2025-12-12 19:57:08 +08:00
begoniezhao
b24fdc2d24
feat: Add title field for creating knowledge requests.
2025-12-04 15:54:52 +08:00
wizardchen
a50f53d205
feat: Implement delete functionality for generated questions in knowledge base, including API and UI updates
2025-12-04 01:26:30 +08:00
wizardchen
e0d9be9405
feat: Add file type filtering to knowledge base search functionality, enhancing user experience and API capabilities
2025-12-04 00:20:22 +08:00
wizardchen
bee699f5bf
feat: Enhance knowledge base functionality by adding document search capability and updating related API and UI components
2025-12-04 00:13:34 +08:00
wizardchen
313860bea4
feat: 增强VLM配置兼容性,支持新旧版本配置判断逻辑
2025-12-03 11:58:29 +08:00
wizardchen
541e40eb75
feat: 调整模态框层级显示并完善跨租户访问权限控制,优化数据库字段类型定义
2025-12-03 11:11:57 +08:00
wizardchen
16562eebbb
feat: 添加AI问题生成功能,支持配置生成数量并在前端展示生成的问题
2025-12-03 01:42:31 +08:00
wizardchen
f26cbe02e1
feat: Add synchronous creation of single FAQ entry and duplicate question detection, update API documentation and frontend handling
2025-12-02 21:14:24 +08:00
wizardchen
845d990a48
feat: Add tag management and FAQ management APIs, enhance knowledge base functionality with keyword search and custom file naming support
2025-12-02 20:39:59 +08:00
wizardchen
cdf576eb18
feat: Implement cross-tenant access functionality
...
- Added configuration for enabling cross-tenant access in the application.
- Introduced new API endpoints for listing and searching tenants, accessible only to users with the appropriate permissions.
- Updated user and tenant models to include the `can_access_all_tenants` field.
- Enhanced the authentication middleware to handle cross-tenant requests and validate user permissions.
- Created a new TenantSelector component for selecting tenants in the frontend, improving user experience.
- Updated internationalization files to support new tenant-related strings and messages.
2025-12-02 12:17:39 +08:00
wizardchen
be411affdb
refactor: Rename DuckDuckGo test function for consistency and improve code readability; format error handling code for better clarity
2025-12-01 17:32:43 +08:00
wizardchen
b10e262ce5
Merge remote-tracking branch 'prc/master'
2025-12-01 17:25:35 +08:00
wizardchen
93af4460d6
refactor: Remove agent_test command-line tool and associated files to streamline project structure and eliminate unused components
2025-12-01 17:24:57 +08:00
begoniezhao
15603dbac7
refactor: Clean up and organize code structure in initialization and request modules for improved maintainability
2025-12-01 14:48:33 +08:00
wizardchen
eb8bfddfd1
refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure
2025-11-28 16:17:52 +08:00
wizardchen
135e33eca4
refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability
2025-11-28 16:10:37 +08:00
wizardchen
c222993777
refactor: Enhance AgentQARequest structure with additional fields and improve session handling methods for clarity and functionality
2025-11-27 17:56:53 +08:00
wizardchen
8b59b84b6e
Merge remote-tracking branch 'wizard/master'
2025-11-27 10:54:08 +08:00
wizardchen
8f7a56308d
refactor: Sanitize log inputs in initialization handler to enhance security
2025-11-26 22:58:42 +08:00
wizardchen
a162b6e7c2
refactor: Enhance type sanitization for model creation to improve security
2025-11-26 22:30:12 +08:00
wizardchen
0425acfa10
refactor: Sanitize log inputs in message and tag handlers to enhance security
2025-11-26 22:02:33 +08:00
wizardchen
86c46c85b1
Merge remote-tracking branch 'prc/master'
2025-11-26 21:20:16 +08:00
wizardchen
544e16c4ee
refactor: Sanitize log inputs in knowledge and QA handlers to enhance security
2025-11-26 20:35:19 +08:00
wizardchen
06a1c96cf2
refactor: Sanitize log inputs in FAQ, Knowledge, and KnowledgeBase handlers to enhance security
2025-11-26 19:52:07 +08:00
wizardchen
d41f8afe55
feat: Add JWT_SECRET configuration to .env.example and enhance pagination validation in chunk handler
2025-11-26 17:58:31 +08:00
begoniezhao
c419049435
feat: Add Graph Settings component for managing graph extraction configurations
2025-11-26 09:23:33 +00:00
wizardchen
b4ae609103
refactor: Sanitize log inputs in chunk and session handlers to enhance security
2025-11-26 16:36:09 +08:00
wizardchen
0132ece3fe
refactor: Sanitize log inputs in evaluation and session handlers to enhance security
2025-11-26 13:14:29 +08:00
wizardchen
dde085a466
refactor: Sanitize log inputs in chunk and session handlers to enhance security
2025-11-26 12:02:04 +08:00
wizardchen
b5890b3169
refactor: Enhance knowledge base and agent features in documentation
2025-11-26 11:27:48 +08:00
wizardchen
09642445de
refactor: Sanitize log inputs in user, auth, knowledge, and model handlers to enhance security
2025-11-26 10:50:53 +08:00
wizardchen
8e3c2d8547
refactor: Sanitize log inputs in mcp_service, duckduckgo, auth, faq, message, and model handlers to enhance security
2025-11-26 00:57:33 +08:00
wizardchen
9fc6c949e5
refactor: Sanitize log inputs in various handlers to enhance security
2025-11-26 00:19:26 +08:00
wizardchen
016df3a4db
refactor: Sanitize log inputs across various handlers to enhance security
...
- Implemented input sanitization for logging in chunk, evaluation, initialization, knowledge, knowledgebase, mcp_service, model, tenant, and session handlers.
- Updated logging statements to use sanitized values for sensitive information, preventing potential injection attacks.
2025-11-25 23:33:34 +08:00
wizardchen
bf35a2861c
refactor: Sanitize log inputs to prevent injection attacks
2025-11-25 22:19:41 +08:00
wizardchen
2f45bf7d86
refactor: Improve Elasticsearch query construction and error handling
2025-11-25 22:06:43 +08:00
wizardchen
64c44c9e27
refactor: Update tenant ID handling across the application
2025-11-25 16:30:54 +08:00
wizardchen
057cfd9eb0
feat: Enhance FAQ import functionality and UI improvements
...
- Added support for tracking the status of FAQ import tasks, including progress indicators for ongoing imports.
- Introduced new localization strings for processing tasks and batch operations in multiple languages.
- Updated the FAQ entry manager to display import progress and improved user feedback during the import process.
- Enhanced the KnowledgeBase component to reflect the processing state of knowledge items, improving user experience during document uploads.
- Implemented batch deletion functionality for chunks, streamlining the management of knowledge base content.
2025-11-23 17:32:50 +08:00