mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
Simplify archiving process (#469)
* simplify args * Fix tests * Black format
This commit is contained in:
@@ -43,7 +43,7 @@ class AI:
|
||||
|
||||
chat = []
|
||||
for chunk in response:
|
||||
delta = chunk["choices"][0]["delta"]
|
||||
delta = chunk["choices"][0]["delta"] # type: ignore
|
||||
msg = delta.get("content", "")
|
||||
print(msg, end="")
|
||||
chat.append(msg)
|
||||
|
||||
Reference in New Issue
Block a user