• Stefy Lanza (nextime / spora )'s avatar
    Fix Google GenAI streaming response handling · 77c08ee2
    Stefy Lanza (nextime / spora ) authored
    - Return Google's synchronous iterator directly from provider handler
    - Detect Google streaming responses by checking for __iter__ but not __aiter__
    - Convert Google chunks to OpenAI format in stream_generator
    - Handle both sync (Google) and async (OpenAI/Anthropic) streaming responses
    - Fix 'async_generator object is not iterable' error
    
    This fixes streaming requests through autoselect and rotation handlers
    that were failing with 'async_generator' object is not iterable error.
    77c08ee2
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
.gitignore Loading commit data...
.providers.json.swp Loading commit data...
AI.PROMPT Loading commit data...
CHANGELOG.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
PYPI.md Loading commit data...
README.md Loading commit data...
aisbf.sh Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
cli.py Loading commit data...
main.py Loading commit data...
pyproject.toml Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
start_proxy.sh Loading commit data...
test_proxy.sh Loading commit data...