mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Updated parse_partial_args
This commit is contained in:
parent
c14c92474f
commit
3a38e176d1
1 changed files with 7 additions and 2 deletions
|
@ -741,12 +741,17 @@ class Coder:
|
|||
pass
|
||||
|
||||
try:
|
||||
return json.loads(data + "}")
|
||||
return json.loads(data + "]}")
|
||||
except JSONDecodeError:
|
||||
pass
|
||||
|
||||
try:
|
||||
return json.loads(data + '"}')
|
||||
return json.loads(data + "}]}")
|
||||
except JSONDecodeError:
|
||||
pass
|
||||
|
||||
try:
|
||||
return json.loads(data + '"}]}')
|
||||
except JSONDecodeError:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue