-
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