mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
Fixed quote stripping of gpt3.5 commit messages
This commit is contained in:
parent
3d8ecddb3f
commit
bd78789bd2
2 changed files with 36 additions and 1 deletions
|
@ -516,7 +516,9 @@ class Coder:
|
|||
)
|
||||
return
|
||||
|
||||
commit_message = commit_message.strip().strip('"').strip()
|
||||
commit_message = commit_message.strip()
|
||||
if commit_message and commit_message[0] == '"' and commit_message[-1] == '"':
|
||||
commit_message = commit_message[1:-1].strip()
|
||||
|
||||
if interrupted:
|
||||
self.io.tool_error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue