Skip to content

Commit fb3fd5f

Browse files
committed
feat(shields): add shields to /streaming_query
1 parent 02afe55 commit fb3fd5f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/utils/agents/streaming.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ async def retrieve_agent_response_generator(
121121
)
122122

123123
agent = build_agent(
124-
context.client, responses_params, configuration, no_tools=no_tools
124+
context.client,
125+
responses_params,
126+
configuration,
127+
shields=context.query_request.shield_ids,
128+
no_tools=no_tools,
125129
)
126130

127131
return (

0 commit comments

Comments
 (0)