朱潮
8e52b787f8
merge
2026-03-16 22:24:44 +08:00
朱潮
c27270588f
增加取消推理
2026-03-16 22:22:39 +08:00
朱潮
da1352550f
实现shell_env支持
2026-03-16 13:56:24 +08:00
朱潮
5d10ed275e
Merge branch 'master' into bot_manager
2026-03-16 13:40:50 +08:00
朱潮
5a7aa06681
v2 实现shell_env支持
2026-03-16 13:39:58 +08:00
朱潮
dd6dfb7116
Merge branch 'master' into bot_manager
2026-03-16 13:32:36 +08:00
朱潮
32fd8c8656
shell_env支持
2026-03-16 13:31:59 +08:00
朱潮
97ff629d86
默认不是单agent
2026-03-15 15:43:19 +08:00
朱潮
f7e8680472
merge from master
2026-03-14 22:03:23 +08:00
朱潮
9f669e1b6d
dataset支持dataset_id软连接
2026-03-12 19:54:09 +08:00
朱潮
49034bc571
add webdav support
2026-03-09 12:31:07 +08:00
朱潮
26905ad623
新增memory管理
2026-03-04 13:43:49 +08:00
朱潮
5b29e866f2
现在 v1 和 v2 接口都支持传递额外参数了
2026-03-02 20:01:43 +08:00
朱潮
9c258664f2
Merge branch 'master' into bot_manager
2026-02-28 23:28:56 +08:00
朱潮
8d29a263e1
修复 robot 目录被意外清空的问题
...
移除 create_robot_project 的重建逻辑,避免在发送消息时删除 dataset 文件夹内容
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-28 23:28:37 +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
朱潮
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
朱潮
98f23fa346
update payment
2026-02-26 00:35:42 +08:00
朱潮
d7dfd8810e
update payment
2026-02-25 23:42:44 +08:00
朱潮
4a8fffaf7d
删除id
2026-02-11 22:43:15 +08:00
朱潮
1d22bcaf3a
RAGFLOW_ALLOWED_EXTENSIONS
2026-02-11 00:05:49 +08:00
朱潮
d759ed2218
update env
2026-02-10 21:46:10 +08:00
朱潮
5f6e806b18
rag_flow
2026-02-10 21:41:16 +08:00
朱潮
bd39a53507
add rag flow
2026-02-10 18:59:10 +08:00
朱潮
742eaf0a1c
remove robot_type
2026-02-08 00:04:39 +08:00
朱潮
1df52ca8d0
merge from prod
2026-02-06 22:07:47 +08:00
朱潮
e67d50b4fc
rename general agent
2026-02-06 17:05:17 +08:00
朱潮
7e058e1505
Merge branch 'prod' into bot_manager
2026-02-04 17:54:42 +08:00
朱潮
525801d7f5
update summary
2026-02-04 15:31:41 +08:00
朱潮
352a2f2f44
降低MAX_CONTEXT_TOKENS
2026-02-03 16:53:51 +08:00
朱潮
c9d00a1b04
admin share
2026-02-01 19:39:26 +08:00
朱潮
5d8efd0dc4
删除部分表
2026-01-30 19:37:22 +08:00
朱潮
51f988e535
update sql表名
2026-01-30 00:03:26 +08:00
朱潮
4c70857ff6
增加bot_manager
2026-01-28 23:32:34 +08:00
朱潮
f1107ea35a
增加enable_thinking和enable_memory
2026-01-28 17:13:41 +08:00
朱潮
3dc119bca8
refactor(mem0): optimize connection pool and async memory handling
...
- Fix mem0 connection pool exhausted error with proper pooling
- Convert memory operations to async tasks
- Optimize docker-compose configuration
- Add skill upload functionality
- Reduce cache size for better performance
- Update dependencies
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 19:39:12 +08:00
朱潮
99755ceab5
remove settingsetting
2026-01-21 10:38:29 +08:00
朱潮
b53174ae9f
需要 openai_api_key的环境变量
2026-01-21 08:38:06 +08:00
朱潮
f694101747
refactor: migrate from Memori to Mem0 for long-term memory
...
Replace Memori with Mem0 for memory management:
- Delete memori_config.py, memori_manager.py, memori_middleware.py
- Add mem0_config.py, mem0_manager.py, mem0_middleware.py
- Update environment variables (MEMORI_* -> MEM0_*)
- Integrate Mem0 with LangGraph middleware
- Add sync connection pool for Mem0 in DBPoolManager
- Move checkpoint message prep to config creation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 21:15:30 +08:00
朱潮
4d6ee6ae0c
fix: pass db_url to init_global_memori
...
Add db_url property to MemoriManager that falls back to
CHECKPOINT_DB_URL setting, and pass it explicitly from
fastapi_app.py to ensure Memori can create sync connections.
This fixes the error "Either db_pool or db_url must be provided"
when recalling memories.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-20 08:27:34 +08:00
朱潮
455a48409d
feat: integrate Memori long-term memory system
...
Add Memori (https://github.com/MemoriLabs/Memori ) integration for
persistent cross-session memory capabilities in both create_agent
and create_deep_agent.
## New Files
- agent/memori_config.py: MemoriConfig dataclass for configuration
- agent/memori_manager.py: MemoriManager for connection and instance management
- agent/memori_middleware.py: MemoriMiddleware for memory recall/storage
- tests/: Unit tests for Memori components
## Modified Files
- agent/agent_config.py: Added enable_memori, memori_semantic_search_top_k, etc.
- agent/deep_assistant.py: Integrated MemoriMiddleware into init_agent()
- utils/settings.py: Added MEMORI_* environment variables
- pyproject.toml: Added memori>=3.1.0 dependency
## Features
- Semantic memory search with configurable top-k and threshold
- Multi-tenant isolation (entity_id=user, process_id=bot, session_id)
- Memory injection into system prompt
- Background asynchronous memory augmentation
- Graceful degradation when Memori is unavailable
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-20 00:12:43 +08:00
朱潮
05744cb9f4
批量保存聊天记录
2026-01-19 09:44:57 +08:00
朱潮
f9ba3c8e51
添加聊天记录查询
2026-01-18 12:29:20 +08:00
朱潮
20d5e96986
feat: 添加 PostgreSQL 支持用于 checkpoint 存储
...
- 添加 postgres:16-alpine 服务配置
- 配置 CHECKPOINT_DB_URL 环境变量
- 添加服务依赖和健康检查
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 00:32:23 +08:00
朱潮
90117b41fe
修复符号链接的问题,和deep_agent提示词
2026-01-13 14:22:44 +08:00
朱潮
b93c40d5a5
merge
2026-01-08 23:10:09 +08:00
朱潮
d45079ca55
feat: 将system_prompt解析从markdown代码块改为XML标签格式
...
- agent_config.py: enable_thinking判断从 ```guideline 改为 <guidelines>
- fastapi_utils.py:
- preamble解析从 ```preamble``` 改为 <preamble>
- guidelines/tools/scenarios/terms 块解析从 markdown 格式改为 XML 标签格式
- 移除不再使用的 parse_guidelines_text 函数
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 22:56:43 +08:00