Small fixes

This commit is contained in:
Zvonimir Sabljic
2023-08-03 21:20:30 +02:00
parent 1c52b64a8d
commit c940bb9594
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ class Developer(Agent):
for (i, step) in enumerate(task_steps):
convo.load_branch('after_task_breakdown')
if step['type'] == 'command':
run_command_until_success(cmd['command'], cmd['timeout'], convo_dev_task)
run_command_until_success(step['command'], step['command_timeout'], convo)
elif step['type'] == 'code_change':
print(f'Implementing code changes for `{step["code_change_description"]}`')
code_monkey = CodeMonkey(self.project, self)