代码提交

This commit is contained in:
董宏凯 committed 2026-08-14 12:56:55 +08:00
1 parent c4d244881f
commit 4d688ddbd8
6 files changed
+2906 -1014

No files matched your search

+3 -9
View File
@@ -364,8 +364,7 @@ auth_login:
# 点击后在新标签页打开下面的 url。enabled 关掉则不显示该入口。
database:
backend: postgres
postgres_url: $POSTGRES_DATABASE_URL
backend: sqlite
sqlite_dir: .deer-flow/data
pool_size: 20 # 基础连接池(postgres/mysql 生效;sqlite 忽略)
max_overflow: 20 # 高峰期可临时超出 pool_size 的额外连接数,真实上限 = pool_size + max_overflow
@@ -374,13 +373,8 @@ database:
echo_sql: false
checkpointer:
type: postgres
connection_string: $POSTGRES_CHECKPOINT_URL
use_postgres: true
# PostgreSQL 优先;SQLite 仅作历史记录读取兜底,确认稳定后可移除。
dual_read_enabled: true
dual_read_sqlite_paths:
- .deer-flow/data/deerflow.db
type: sqlite
connection_string: .deer-flow/data/deerflow.db
# 记忆子系统:跨会话持久化用户画像与 agent 私有记忆。
# 三层覆盖优先级(高->低):