Skip to content

Commit

Permalink
Async server improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Jul 2, 2024
1 parent 48983e6 commit da057d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/core/async_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def output(self):

def respond(self):
for chunk in self._respond_and_store():
if chunk["type"] == "code":
if chunk["type"] in ["code", "output"]:
if "start" in chunk:
print("\n\n```" + chunk["format"], flush=True)
if "end" in chunk:
Expand Down

0 comments on commit da057d4

Please sign in to comment.