Removed setting last_development_step because it's set in save_development_step function

This commit is contained in:
Zvonimir Sabljic
2023-09-18 18:37:10 -07:00
parent 3e5b87f2a9
commit dfbdae7062

View File

@@ -81,7 +81,6 @@ class AgentConvo:
if self.agent.__class__.__name__ == 'Developer':
development_step = save_development_step(self.agent.project, prompt_path, prompt_data, self.messages, response)
self.agent.project.checkpoints['last_development_step'] = development_step
# TODO handle errors from OpenAI
if response == {}: