We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260bdf0 commit 6d74628Copy full SHA for 6d74628
src/agents/run.py
@@ -1143,7 +1143,9 @@ async def _start_streaming(
1143
finally:
1144
if streamed_result._input_guardrails_task:
1145
try:
1146
- await streamed_result._input_guardrails_task
+ await AgentRunner._input_guardrail_tripwire_triggered_for_stream(
1147
+ streamed_result
1148
+ )
1149
except Exception as e:
1150
logger.debug(
1151
f"Error in streamed_result finalize for agent {current_agent.name} - {e}"
0 commit comments