mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
6c4017ecfe
1 changed files with 4 additions and 0 deletions
|
@ -653,6 +653,10 @@ class Coder:
|
|||
live.start()
|
||||
|
||||
for chunk in completion:
|
||||
text = ''
|
||||
if len(chunk.choices) == 0:
|
||||
continue
|
||||
|
||||
if chunk.choices[0].finish_reason == "length":
|
||||
raise ExhaustedContextWindow()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue