MCPcopy Create free account
hub / github.com/castari/castari-proxy / ToolBlockState

Interface ToolBlockState

worker/src/stream.ts:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9interface ToolBlockState {
10 index: number;
11 name: string;
12 id: string;
13 buffer: string;
14 open: boolean;
15}
16
17export function streamOpenRouterToAnthropic(upstream: Response, options: StreamOptions): Response {
18 if (!upstream.body) throw new Error('Upstream response has no body to stream');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected