Spaces:
Runtime error
Runtime error
Scott Cogan
commited on
Commit
·
c1ed0a4
1
Parent(s):
d442bc0
fix: pass tools as dictionary to match template expectations
Browse files
app.py
CHANGED
|
@@ -234,7 +234,7 @@ for name, tool in tools_dict.items():
|
|
| 234 |
|
| 235 |
agent = CodeAgent(
|
| 236 |
model=model,
|
| 237 |
-
tools=
|
| 238 |
max_steps=15,
|
| 239 |
verbosity_level=2,
|
| 240 |
grammar=None,
|
|
|
|
| 234 |
|
| 235 |
agent = CodeAgent(
|
| 236 |
model=model,
|
| 237 |
+
tools=tools_dict, # Pass tools as a dictionary for template rendering
|
| 238 |
max_steps=15,
|
| 239 |
verbosity_level=2,
|
| 240 |
grammar=None,
|