Skip to content

Commit da057d4

Browse files
committed
Async server improvements
1 parent 48983e6 commit da057d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/core/async_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def output(self):
6868

6969
def respond(self):
7070
for chunk in self._respond_and_store():
71-
if chunk["type"] == "code":
71+
if chunk["type"] in ["code", "output"]:
7272
if "start" in chunk:
7373
print("\n\n```" + chunk["format"], flush=True)
7474
if "end" in chunk:

0 commit comments

Comments
 (0)