-
Stefy Lanza (nextime / spora ) authored
- Detect tool calls in accumulated streaming text after all chunks received - Parse nested 'assistant: [...]' format with tool calls inside - Parse simple 'tool: {...}' format - Convert detected tool calls to OpenAI-compatible format - Send tool_calls in first chunk, then final assistant text - Proper handling of finish_reason in final chunk3507a642