mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
Changed commit message to display error message when unable to get commit message from gpt-3.5-turbo.
This commit is contained in:
parent
921546881e
commit
b04359747f
1 changed files with 3 additions and 1 deletions
|
@ -442,7 +442,9 @@ class Coder:
|
||||||
commit_message = commit_message.strip().strip('"').strip()
|
commit_message = commit_message.strip().strip('"').strip()
|
||||||
|
|
||||||
if interrupted:
|
if interrupted:
|
||||||
commit_message = "Saving dirty files before chat"
|
self.console.print("[red]Unable to get commit message from gpt-3.5-turbo. Use /commit to try again.\n")
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
if prefix:
|
if prefix:
|
||||||
commit_message = prefix + commit_message
|
commit_message = prefix + commit_message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue