UNPKG

@anthropic-ai/sdk

Version:
10 lines 396 B
export declare const JSON_BUF_PROPERTY = "__json_buf"; /** * Copies a tool-use block with an updated `__json_buf`, installing `.input` as * a memoized getter so the partial-JSON parse happens on first read instead of * on every delta. */ export declare function withLazyInput<T extends { input: unknown; }>(prev: T, jsonBuf: string): T; //# sourceMappingURL=message-stream-utils.d.mts.map