removed nested call to io.tool_error

This commit is contained in:
Paul Gauthier 2023-05-13 09:47:08 -07:00
parent 2b6ea21a0b
commit e74c90037c

View file

@ -450,9 +450,7 @@ class Coder:
commit_message = commit_message.strip().strip('"').strip()
if interrupted:
self.io.tool(
self.io.tool_error("Unable to get commit message from gpt-3.5-turbo. Use /commit to try again.")
)
return
return commit_message