Skip to content

Commit 161bfb4

Browse files
fix: Update agent instructions to restrict web search conversational inputs
1 parent 50dd6f3 commit 161bfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App/backend/agents/agent_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def get_wealth_advisor_agent(cls):
4242

4343
agent_name = "WealthAdvisor"
4444
agent_instructions = '''You are a helpful assistant to a Wealth Advisor.
45-
If the question is unrelated to data but is conversational (e.g., greetings or follow-ups), respond appropriately using context.'''
45+
If the question is unrelated to data but is conversational (e.g., greetings or follow-ups), respond appropriately using context, do not use external tools or perform any web searches for these conversational inputs.'''
4646

4747
agent_definition = await client.agents.create_agent(
4848
model=ai_agent_settings.model_deployment_name,

0 commit comments

Comments
 (0)