Enable streaming for tool call logs

This commit is contained in:
2026-03-02 16:39:05 -08:00
parent 991316e692
commit e3253d1741
3 changed files with 207 additions and 65 deletions

View File

@@ -108,8 +108,8 @@ Event order:
Tool-enabled streaming notes (`openai`/`xai`):
- Stream still emits standard `meta`, `delta`, `done|error` events.
- Stream may emit `tool_call` events before final assistant text.
- `delta` may arrive as one consolidated chunk after tool execution, rather than many token-level chunks.
- Stream may emit `tool_call` events while tool calls are executed.
- `delta` events stream incrementally as text is generated.
## Persistence + Consistency Model