fix: openai streaming cancellation using aiohttp
This commit is contained in:
1 parent
4dd51badfe
commit
7f74426a22
2 files changed
+31
-15
No files matched your search
@@ -153,7 +153,7 @@ async def cleanup_response(
|
||||
await session.close()
|
||||
|
||||
|
||||
async def post_streaming_url(url, payload):
|
||||
async def post_streaming_url(url: str, payload: str):
|
||||
r = None
|
||||
try:
|
||||
session = aiohttp.ClientSession()
|
||||
|
||||
Reference in new issue
Block a user