mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
The CLI now measures the serialized runtime request against the shared 1 MiB local transport limit before writing any bytes. Oversized requests fail with invalid_argument and requestSent=false instead of being cut off by the server mid-frame, and the client skips mutation recovery for these unsent requests so it never suggests resending the same payload. Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2 lines
63 B
TypeScript
2 lines
63 B
TypeScript
export const MAX_LOCAL_RUNTIME_RPC_MESSAGE_BYTES = 1024 * 1024
|