Spaces:
Running
Running
apple muncy
commited on
Commit
·
cd52757
1
Parent(s):
ff70c7a
add _instance to agent
Browse filesSigned-off-by: apple muncy <[email protected]>
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(
|
122 |
-
for t in
|
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 |
|