adding tools
Browse files
agent.py
CHANGED
|
@@ -17,10 +17,7 @@ def create_agent():
|
|
| 17 |
# Initialize the CodeAgent with the tools and model
|
| 18 |
agent = CodeAgent(
|
| 19 |
tools = tools,
|
| 20 |
-
model = model
|
| 21 |
-
max_iterations=5,
|
| 22 |
-
max_tokens=1000,
|
| 23 |
-
temperature=1,
|
| 24 |
)
|
| 25 |
return agent
|
| 26 |
|
|
|
|
| 17 |
# Initialize the CodeAgent with the tools and model
|
| 18 |
agent = CodeAgent(
|
| 19 |
tools = tools,
|
| 20 |
+
model = model
|
|
|
|
|
|
|
|
|
|
| 21 |
)
|
| 22 |
return agent
|
| 23 |
|