You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using await on an AsyncGuard with the callable litellm.acompletiion results in following error when using guardrails==0.5.11
async for chunk in resp_gen:
File "/opt/miniconda3/envs/GUARDENV/lib/python3.9/site-packages/guardrails/telemetry/guard_tracing.py", line 197, in trace_async_stream_guard
res = await anext(result) # type: ignore
NameError: name 'anext' is not defined
Describe the bug
Using await on an AsyncGuard with the callable litellm.acompletiion results in following error when using guardrails==0.5.11
To Reproduce
python demo.py
Above code is adapted form
Expected behavior
Code should not error out
Library version:
Version (e.g. 0.5.11)
Additional context
Works fine on guardrails-ai==0.5.1
The text was updated successfully, but these errors were encountered: