test/ 调整prompt,提高共情能力

This commit is contained in:
Kevin
2026-04-08 17:10:09 +08:00
parent 78b61c076e
commit 2a0c80987d
8 changed files with 113 additions and 85 deletions

View File

@@ -224,6 +224,8 @@ class InterviewAgent:
user_profile_context: str = "",
background_voice: str = "default",
occupation: str = "",
profile_birth_year: Optional[int] = None,
profile_era_place: str = "",
) -> List[str]:
"""生成空对话开场白,不持久化(由 Orchestrator 负责)"""
if not self.llm:
@@ -239,6 +241,8 @@ class InterviewAgent:
persona=persona,
background_voice=background_voice,
occupation=occupation,
profile_birth_year=profile_birth_year,
profile_era_place=profile_era_place,
)
hw = await get_history_with_window(
conversation_id,