diff --git a/src/utils/agents/streaming.py b/src/utils/agents/streaming.py index 768bdcef3..02b09a85c 100644 --- a/src/utils/agents/streaming.py +++ b/src/utils/agents/streaming.py @@ -121,7 +121,11 @@ async def retrieve_agent_response_generator( ) agent = build_agent( - context.client, responses_params, configuration, no_tools=no_tools + context.client, + responses_params, + configuration, + shields=context.query_request.shield_ids, + no_tools=no_tools, ) return (