Commit Graph

398 Commits

Author SHA1 Message Date
朱潮
c3d2018a56 new api 2026-02-27 00:38:13 +08:00
朱潮
6365d65715 user_identifier 2026-02-27 00:21:06 +08:00
朱潮
c9c9a71452 subaccount 2026-02-26 23:56:45 +08:00
朱潮
912d5ebbed 个人中心 2026-02-26 18:11:22 +08:00
朱潮
c751c7997e sigle agent mode 2026-02-26 08:58:32 +08:00
朱潮
7cb2c9c5ca feat: 单智能体模式下加载用户所有知识库
- get_bot_settings 接口中,单智能体模式时加载用户的所有知识库
- 不再从 settings_json 读取 dataset_ids

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-26 08:29:10 +08:00
朱潮
1d82ca9ba8 feat: 添加启动时自动执行数据库迁移
添加 migrate_single_agent_mode 函数,在系统启动时自动添加
single_agent_bot_id 字段到 agent_user 表

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-26 08:13:36 +08:00
朱潮
2e928cbc9c feat: 添加单智能体模式 (Single Agent Mode)
为特定用户群体提供简化的智能体访问体验:
- 后端通过环境变量配置模板智能体
- 登录时自动为用户复制模板 bot
- 前端根据配置显示简化的侧边栏入口

后端变更:
- 添加 single_agent_bot_id 字段到 agent_user 表
- settings.py 添加单智能体模式配置
- 登录接口返回 single_agent 配置

环境变量:
- SINGLE_AGENT_MODE: 是否启用单智能体模式
- TEMPLATE_BOT_ID: 模板智能体 ID
- TEMPLATE_BOT_NAME: 模板智能体名称

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-26 08:05:18 +08:00
朱潮
868e5211b1 update NEW_API_BASE_URL 2026-02-26 00:52:41 +08:00
朱潮
98f23fa346 update payment 2026-02-26 00:35:42 +08:00
朱潮
d7dfd8810e update payment 2026-02-25 23:42:44 +08:00
朱潮
5ab55919bc 移除admin可看到所有bot的能力 2026-02-24 00:00:23 +08:00
朱潮
c257a98a37 Merge branch 'master' into bot_manager 2026-02-23 23:23:44 +08:00
朱潮
a822a2a1d1 优化空的工具调用 2026-02-23 23:23:38 +08:00
朱潮
5c4f36ff0d 优化bot复制 2026-02-23 21:18:59 +08:00
朱潮
30cc704c0f 优化chat页面 2026-02-23 20:48:25 +08:00
朱潮
411c515a13 公开的智能体 2026-02-22 21:34:16 +08:00
朱潮
ed440564f3 后端 routes/bot_manager.py - 在 check_bot_access 函数中添加了对 is_published 的检查: 2026-02-22 21:17:34 +08:00
朱潮
b75afac520 自动同步智能体 2026-02-22 19:46:06 +08:00
朱潮
082fd24727 增加智能体广场
- 添加智能体广场功能
- 移除 playwright 日志

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-21 21:28:55 +08:00
朱潮
144739fb4a Merge branch 'master' into bot_manager 2026-02-16 00:08:57 +08:00
朱潮
37c0eb1a47 删除warning 2026-02-16 00:08:48 +08:00
朱潮
f583cf3bc4 Merge branch 'master' into bot_manager 2026-02-15 18:56:06 +08:00
朱潮
925a0a318a add project root 2026-02-15 18:55:49 +08:00
朱潮
fd5a859030 Merge branch 'master' into bot_manager 2026-02-15 18:13:07 +08:00
朱潮
f5c7d3ff9c on_tool_start 长度调整 2026-02-15 18:12:22 +08:00
朱潮
1b49c353ec Merge branch 'master' into bot_manager 2026-02-15 09:49:00 +08:00
朱潮
a493e98719 增加工具调用的日志 2026-02-15 09:48:45 +08:00
朱潮
6befae11fb Merge branch 'master' into bot_manager 2026-02-14 19:07:00 +08:00
朱潮
198bb08690 修改tool 工具日志 2026-02-14 19:06:14 +08:00
朱潮
3655e0ca9b Merge branch 'bugfix/20260212-skill-format-validation' into master 2026-02-13 11:52:09 +08:00
朱潮
423fdc5c0c add trace_id 2026-02-13 00:30:18 +08:00
朱潮
784517772a add ragflow-loader 2026-02-13 00:13:30 +08:00
朱潮
a6e7892536 modify routes/skill_manager.py 2026-02-12 22:19:09 +08:00
朱潮
2fbf249a8d 复制 2026-02-12 00:41:03 +08:00
朱潮
4a8fffaf7d 删除id 2026-02-11 22:43:15 +08:00
朱潮
bd0bf6056e Merge branch 'staging' into bot_manager 2026-02-11 12:37:59 +08:00
朱潮
63d17d355b feat(skill): add feature memory with changelog and decisions
添加 skill 功能的完整记忆文档:

Changelog:
- 2025-Q4: 初始实现 (GRPC 层 + 内置 skills)
- 2026-Q1: API 完善 (REST API + Hook 系统)

Design Decisions:
- 001: Skill 架构设计 (目录结构、Hook 系统)
- 002: 上传安全措施 (ZipSlip、路径遍历防护)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 12:30:56 +08:00
朱潮
bbfe5d929f feat: add skill feature memory
添加 skill 功能的 feature memory,记录技能包管理服务和 Hook 系统的核心信息。

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 12:14:48 +08:00
朱潮
1d22bcaf3a RAGFLOW_ALLOWED_EXTENSIONS 2026-02-11 00:05:49 +08:00
朱潮
77b9798e32 Merge branch 'master' into bot_manager 2026-02-10 22:18:48 +08:00
朱潮
2d20c7cbba update dataset_id_str 2026-02-10 22:18:30 +08:00
朱潮
7e709e7991 update requirements.txt 2026-02-10 21:58:48 +08:00
朱潮
2daa44c2cb ITINERARY_API_URL 2026-02-10 21:47:33 +08:00
朱潮
d759ed2218 update env 2026-02-10 21:46:10 +08:00
朱潮
5f6e806b18 rag_flow 2026-02-10 21:41:16 +08:00
朱潮
4e4052874a Merge branch 'master' into bot_manager 2026-02-10 20:08:16 +08:00
朱潮
569fb3aa79 env only command enable 2026-02-10 20:07:47 +08:00
朱潮
46a3fda7f5 Merge branch 'master' into bot_manager 2026-02-10 19:00:31 +08:00
朱潮
815ad01876 add mcp dataset_ids 2026-02-10 19:00:19 +08:00