Skip to content

Commit 1891fb7

Browse files
authored
Merge pull request #2217 from jrobertboos/lcore-3200
LCORE-3200: Add Shields to `/streaming_query`
2 parents 071c1cb + bd6c91e commit 1891fb7

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)