Simplify AI memory pipeline
This commit is contained in:
@@ -58,6 +58,7 @@ def correlation_bind_kwargs(
|
||||
|
||||
# bind=True 任务的 positional 与字段名映射(kwargs 优先,缺位再填)
|
||||
_TASK_POSITIONAL_FIELDS: dict[str, tuple[str, ...]] = {
|
||||
"app.tasks.memory_enrichment_tasks.embed_memory_source": ("user_id", "source_id"),
|
||||
"app.tasks.memory_enrichment_tasks.enrich_memory_source": ("user_id", "source_id"),
|
||||
"app.tasks.memory_compaction_tasks.memory_compaction_run": ("user_id",),
|
||||
"app.tasks.chapter_compose_tasks.recompose_chapter": ("chapter_id",),
|
||||
|
||||
Reference in New Issue
Block a user