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 0050939 commit 721e9ceCopy full SHA for 721e9ce
src/agents/run.py
@@ -1097,6 +1097,7 @@ async def _start_streaming(
1097
# Check if any blocking guardrail triggered and raise before starting agent.
1098
for result in streamed_result.input_guardrail_results:
1099
if result.output.tripwire_triggered:
1100
+ streamed_result._event_queue.put_nowait(QueueCompleteSentinel())
1101
raise InputGuardrailTripwireTriggered(result)
1102
1103
# Run parallel guardrails in background.
0 commit comments