undo a typo, add a passthrough distribution

This commit is contained in:
Ashwin Bharambe 2024-08-02 20:48:53 -07:00
parent 67229f23a4
commit 38fd76f85c
2 changed files with 24 additions and 2 deletions

View file

@ -157,7 +157,7 @@ def create_dynamic_typed_route(func: Any):
)
return StreamingResponse(
sse_generator(func(request2)), media_type="text/event-stream"
sse_generator(func(request)), media_type="text/event-stream"
)
else: