mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
Merge ff79643621
into 40fdce79b3
This commit is contained in:
commit
c31e9c2da5
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ async def sse_generator(event_gen_coroutine):
|
|||
except asyncio.CancelledError:
|
||||
logger.info("Generator cancelled")
|
||||
if event_gen:
|
||||
await event_gen.aclose()
|
||||
await event_gen.close()
|
||||
except Exception as e:
|
||||
logger.exception("Error in sse_generator")
|
||||
yield create_sse_event(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue