apple muncy commited on
Commit
cd52757
·
1 Parent(s): ff70c7a

add _instance to agent

Browse files

Signed-off-by: apple muncy <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -118,8 +118,8 @@ async def get_agent():
118
  await agent_instance.load_tools()
119
  logger.info("Tools loaded successfully")
120
 
121
- print(f"[bold blue]Agent loaded with {len(agent.available_tools)} tools:[/bold blue]")
122
- for t in agent.available_tools:
123
  print(f"[blue] • {t.function.name}[/blue]")
124
 
125
 
 
118
  await agent_instance.load_tools()
119
  logger.info("Tools loaded successfully")
120
 
121
+ print(f"[bold blue]Agent loaded with {len(agent_instance.available_tools)} tools:[/bold blue]")
122
+ for t in agent_instance.available_tools:
123
  print(f"[blue] • {t.function.name}[/blue]")
124
 
125