mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
fix: fix build error in context.py
This commit is contained in:
parent
b7a9c45477
commit
eda1197a92
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def preserve_contexts_async_generator(
|
|||
and we need to preserve the context across the event loop boundary.
|
||||
"""
|
||||
|
||||
async def wrapper():
|
||||
async def wrapper() -> AsyncGenerator[T, None]:
|
||||
while True:
|
||||
try:
|
||||
item = await gen.__anext__()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue