• Stefy Lanza (nextime / spora )'s avatar
    Fix: Send tool_calls in Google streaming responses · 8d6b8de7
    Stefy Lanza (nextime / spora ) authored
    Changed line 511 to check list length instead of boolean evaluation.
    This fixes the bug where tool calls extracted from Google chunks were not being
    sent to clients because empty lists were being treated as falsy.
    
    Before: 'tool_calls': delta_tool_calls if delta_tool_calls else None
    After:  'tool_calls': delta_tool_calls if len(delta_tool_calls) > 0 else None
    8d6b8de7
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_google.sh Loading commit data...
test_proxy.sh Loading commit data...