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 f96d492 commit c698a6aCopy full SHA for c698a6a
src/agentex/lib/core/adapters/llm/adapter_litellm.py
@@ -47,5 +47,5 @@ async def acompletion_stream(
47
if not kwargs.get("stream"):
48
raise ValueError("To use streaming, please set stream=True in the kwargs")
49
50
- async for chunk in llm.acompletion(*args, **kwargs): # type: ignore[misc]
+ async for chunk in await llm.acompletion(*args, **kwargs): # type: ignore[misc]
51
yield Completion.model_validate(chunk)
0 commit comments