fix/various fixes

This commit is contained in:
Kevin
2026-03-20 15:15:35 +08:00
parent 7f57f96c25
commit 7317bf10cd
112 changed files with 3790 additions and 2242 deletions

View File

@@ -236,7 +236,12 @@ class ChatOrchestrator:
memoir_state: MemoirStateSchema,
user_profile_context: str = "",
) -> List[str]:
"""委托 InterviewAgent 生成开场白,并写入 Redis"""
"""
委托 InterviewAgent 生成访谈开场白,并写入 Redis。
调用方(如 WS须在「空会话」分支前通过 ConversationService 从 DB 回填 Redis
避免与多 Agent 契约混淆:本编排器不读取 segments只假定 Redis 已反映是否已有轮次。
"""
responses = await self.interview_agent.generate_opening_message(
conversation_id=conversation_id,
memoir_state=memoir_state,