Commit Graph

2 Commits

Author SHA1 Message Date
朱潮
41b2c898ec fix: 通用智能体工作目录按用户隔离
projects/robot/general-agent 所有用户共享会导致文件/会话产物互串。
get_general_agent_runtime_config 生成 project_dir_key=general-agent-{user},
v3 chat 优先用它作为 create_project_directory 的目录标识。
普通 bot 不返回 project_dir_key,行为不变。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-21 18:29:09 +08:00
朱潮
f57949520f feat: 新增配置文件驱动的通用智能体
- 新增 config/general_agent.json 与 utils/general_agent_config.py
- 登录返回的单智能体改为读取配置文件,不再复制 bot/skills
- 新增 GET /api/v1/general-agent/settings 接口
- v3 chat 在 bot_id=general-agent 时从配置文件读取运行时配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-21 17:01:33 +08:00