We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf0b97 commit 6f4b9f0Copy full SHA for 6f4b9f0
packages/ai/README.md
@@ -133,6 +133,13 @@ the chat stream is consumed. Callback failures are ignored so chat streaming can
133
You can optionally provide `onError` to observe non-fatal transport errors
134
(for example callback failures or reconnect setup issues).
135
136
+The callback receives:
137
+
138
+- `phase`: `"onTriggeredRun" | "consumeTrackingStream" | "reconnect"`
139
+- `chatId`
140
+- `runId`
141
+- `error`
142
143
## Reconnect semantics
144
145
- `reconnectToStream({ chatId })` resumes only while a stream is still active.
0 commit comments