There was an error while loading. Please reload this page.
1 parent 82a5837 commit e84c9c3Copy full SHA for e84c9c3
1 file changed
agentflow/core/realtime/live_agent.py
@@ -323,9 +323,7 @@ async def _resolve_session_system_instruction(
323
prompts = prompts + await self._build_memory_prompts(state, config)
324
prompts = _interpolate_system_prompts(prompts, state)
325
326
- instruction = "\n\n".join(
327
- str(p["content"]) for p in prompts if p.get("content")
328
- ).strip()
+ instruction = "\n\n".join(str(p["content"]) for p in prompts if p.get("content")).strip()
329
if not instruction:
330
return rt
331
return rt.model_copy(update={"system_instruction": instruction})
0 commit comments