Using Rovo on Debian Linux nixos 6.12.18-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 11 05:50:34 GMT 2025 x86_64 GNU/Linux. Rovo will encounter a network API issue, then attempt a fallback, which will result in:
I upgraded the async libs on my system, installed anthropic module in my venv, but its most likely a context issue.
Exception ignored in: <async_generator object AdaptiveFallbackModel.request_stream at 0x75e9e92aa1c0>
Traceback (most recent call last):
File "rovodev/modules/adaptive_fallback_model.py", line 199, in request_stream
File "contextlib.py", line 714, in __aexit__
File "contextlib.py", line 697, in __aexit__
File "contextlib.py", line 217, in __aexit__
File "pydantic_ai/models/anthropic.py", line 169, in request_stream
File "anthropic/_streaming.py", line 247, in __aexit__
File "anthropic/_streaming.py", line 255, in close
File "httpx/_models.py", line 1076, in aclose
File "httpx/_client.py", line 182, in aclose
File "httpx/_transports/default.py", line 276, in aclose
File "httpcore/_async/connection_pool.py", line 412, in aclose
File "httpcore/_synchronization.py", line 203, in __init__
File "httpcore/_synchronization.py", line 30, in current_async_library
File "sniffio/_impl.py", line 93, in current_async_library
sniffio._impl.AsyncLibraryNotFoundError: unknown async library, or not in async context
Exception ignored in: <async_generator object HTTP11ConnectionByteStream.__aiter__ at 0x75e9e8fe3040>
Traceback (most recent call last):
File "httpcore/_async/http11.py", line 340, in __aiter__
File "httpcore/_synchronization.py", line 203, in __init__
File "httpcore/_synchronization.py", line 30, in current_async_library
File "sniffio/_impl.py", line 93, in current_async_library
sniffio._impl.AsyncLibraryNotFoundError: unknown async library, or not in async context