LukeMattingly
commited on
Commit
·
509c0b5
1
Parent(s):
9094565
now updated with correct tools added to code agent
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
183 |
|
184 |
agent = CodeAgent(
|
185 |
model=model,
|
186 |
-
tools=[final_answer,
|
187 |
max_steps=6,
|
188 |
verbosity_level=1,
|
189 |
grammar=None,
|
|
|
183 |
|
184 |
agent = CodeAgent(
|
185 |
model=model,
|
186 |
+
tools=[final_answer, get_open_pull_requests, find_todo_comments, get_pr_diff, get_pr_files_changed, detect_code_smells ], ## add your tools here (don't remove final answer)
|
187 |
max_steps=6,
|
188 |
verbosity_level=1,
|
189 |
grammar=None,
|