-
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 | ||
| config.py | ||
| context.py | ||
| database.py | ||
| handlers.py | ||
| models.py | ||
| providers.py | ||
| utils.py |