qwen_agent/utils
朱潮 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
..
log_util sqlite pool and change agent cache to tools cache 2025-12-23 22:18:18 +08:00
__init__.py 批量保存聊天记录 2026-01-19 09:44:57 +08:00
agent_pool.py 日志优化 2025-11-27 21:50:03 +08:00
api_models.py merge from prod 2026-02-06 22:07:47 +08:00
async_file_ops.py 日志优化 2025-11-27 21:50:03 +08:00
data_merger.py 日志优化 2025-11-27 21:50:03 +08:00
dataset_manager.py 日志优化 2025-11-27 21:50:03 +08:00
excel_csv_processor.py 日志优化 2025-11-27 21:50:03 +08:00
fastapi_utils.py update payment 2026-02-25 23:42:44 +08:00
file_manager.py 日志优化 2025-11-27 21:50:03 +08:00
file_utils.py add symlink 2025-12-23 17:36:45 +08:00
multi_project_manager.py rename general agent 2026-02-06 17:05:17 +08:00
new_api_proxy.py update payment 2026-02-26 00:35:42 +08:00
project_manager.py add deep_agent 2025-12-12 18:41:52 +08:00
settings.py feat: 添加单智能体模式 (Single Agent Mode) 2026-02-26 08:05:18 +08:00
single_file_processor.py 日志优化 2025-11-27 21:50:03 +08:00
system_optimizer.py 日志优化 2025-11-27 21:50:03 +08:00
token_counter.py update summary 2026-02-04 15:31:41 +08:00