We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901b32a commit 3cb7c53Copy full SHA for 3cb7c53
src/codeboxapi/api.py
@@ -53,7 +53,7 @@ async def event_stream() -> AsyncGenerator[str, None]:
53
async for chunk in codebox.astream_exec(
54
exec.code, exec.kernel, exec.timeout, exec.cwd
55
): # protocol is <type>content</type>
56
- yield f"<{chunk.type}>{chunk.content}</{chunk.type}>\n"
+ yield f"<{chunk.type}>{chunk.content}</{chunk.type}>"
57
58
return StreamingResponse(event_stream())
59
0 commit comments