Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ class HfAgentWrapper:
|
|
189 |
model_repo,
|
190 |
tools=[], # Attempt to provide an empty list for default tools
|
191 |
additional_tools=self.actual_tools_for_agent
|
192 |
-
|
193 |
# --- New robust way to inspect the toolbox ---
|
194 |
print(f"Inspecting self.agent.toolbox...")
|
195 |
if hasattr(self.agent, 'toolbox'):
|
|
|
189 |
model_repo,
|
190 |
tools=[], # Attempt to provide an empty list for default tools
|
191 |
additional_tools=self.actual_tools_for_agent
|
192 |
+
)
|
193 |
# --- New robust way to inspect the toolbox ---
|
194 |
print(f"Inspecting self.agent.toolbox...")
|
195 |
if hasattr(self.agent, 'toolbox'):
|