mirror of
https://github.com/TanStack/ai.git
synced 2026-11-16 19:38:41 +00:00
566 B
566 B
| id | title |
|---|---|
| decodeWsFrame | decodeWsFrame |
Function: decodeWsFrame()
function decodeWsFrame(data): InboundFrame;
Defined in: packages/ai/src/stream-to-websocket.ts:48
Decode one client→server frame. An { type: 'abort', runId } object is a
control frame; anything else is treated as a RunAgentInput and validated
downstream by chatParamsFromRequestBody.
Parameters
data
string