added rag instructions to agents with rag sources attached

This commit is contained in:
arkml 2025-05-06 14:02:19 +05:30 committed by akhisud3195
parent cae7c5a128
commit 6413f6211e

View file

@ -212,6 +212,7 @@ def get_agents(agent_configs, tool_configs, complete_request):
if rag_tool:
new_tools.append(rag_tool)
print(f"Added rag tool to agent {agent_config['name']}")
agent_config = add_rag_instructions_to_agent(agent_config, rag_tool.name)
for tool_name in agent_config["tools"]: