wip: 客服Agent + RAG + 画像收尾(基于 6516ccb)

This commit is contained in:
2026-09-11 14:46:40 +08:00
parent 870fd0d44e
commit e4c4099aaa
82 changed files with 13901 additions and 2426 deletions
@@ -98,7 +98,13 @@ async def test_config_release_lifecycle_is_versioned_and_audited() -> None:
)
await session.execute(
delete(DomainEventOutbox).where(
DomainEventOutbox.aggregate_id.in_([str(release_id), str(rollback_id)])
DomainEventOutbox.aggregate_id.in_([str(release_id), str(rollback_id)]),
# 必须限定 event_type:`aggregate_id` 是字符串列,`release_id` 是自增小整数,
# 与其它域用小整数做 `aggregate_id` 的记录(例如知识库的
# `knowledge.vector_sync_requested`,aggregate_id = fin_knowledge_meta.id)
# 数值上会碰撞。只按 aggregate_id 删会**误删其它域的 outbox 行**,
# 表现为那些知识行永远拿不到向量同步事件、静默不被索引。
DomainEventOutbox.event_type == "config.cache_invalidate_requested",
)
)
await session.execute(