mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 23:46:50 +00:00
feat(persistence): add RunEventStore ABC + MemoryRunEventStore
Phase 2-A prerequisite for event storage: adds the unified run event stream interface (RunEventStore) with an in-memory implementation, RunEventsConfig, gateway integration, and comprehensive tests (27 cases). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -613,6 +613,20 @@ checkpointer:
|
||||
# backend: postgres
|
||||
# postgres_url: $DATABASE_URL
|
||||
|
||||
# ============================================================================
|
||||
# Run Events Configuration
|
||||
# ============================================================================
|
||||
# Storage backend for run events (messages + execution traces).
|
||||
#
|
||||
# backend: memory -- No persistence, data lost on restart (default)
|
||||
# backend: db -- SQL database via ORM, full query capability (production)
|
||||
# backend: jsonl -- Append-only JSONL files (lightweight single-node persistence)
|
||||
#
|
||||
# run_events:
|
||||
# backend: memory
|
||||
# max_trace_content: 10240 # Truncation threshold for trace content (db backend, bytes)
|
||||
# track_token_usage: true # Accumulate token counts to RunRow
|
||||
|
||||
# ============================================================================
|
||||
# IM Channels Configuration
|
||||
# ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user