• Stefy Lanza (nextime / spora )'s avatar
    fix: Stream chunks normally, only add tool call chunk at end · b307c7fb
    Stefy Lanza (nextime / spora ) authored
    Instead of collecting all chunks and sending a modified response:
    - Stream chunks normally as they come (with deltas like before)
    - Only at the END, if tool call pattern detected, send additional chunk with tool_calls
    - Then send final chunk with usage statistics
    
    This preserves the original streaming behavior while adding tool call detection.
    b307c7fb
Name
Last commit
Last update
..
__init__.py Loading commit data...
config.py Loading commit data...
context.py Loading commit data...
database.py Loading commit data...
handlers.py Loading commit data...
models.py Loading commit data...
providers.py Loading commit data...
utils.py Loading commit data...