Skip to content
providerkit
GitHub

HostedCallDelta

Defined in: core/src/hosted/types.ts:171

A fragment of a hosted call, assembled by index (collectTurn does it). Each field takes the last value stated, codeDelta appends to input.code, and output is always stated whole.

optional at?: number;

Defined in: core/src/hosted/types.ts:180


optional codeDelta?: string;

Defined in: core/src/hosted/types.ts:177


optional error?: string;

Defined in: core/src/hosted/types.ts:179


optional id?: string;

Defined in: core/src/hosted/types.ts:173


index: number;

Defined in: core/src/hosted/types.ts:172


optional input?: HostedInput;

Defined in: core/src/hosted/types.ts:176


optional output?: HostedOutput;

Defined in: core/src/hosted/types.ts:178


optional status?: "running" | "completed" | "failed";

Defined in: core/src/hosted/types.ts:175


optional type?:
| "web_search"
| "web_fetch"
| "code_execution"
| "file_search"
| "image_generation";

Defined in: core/src/hosted/types.ts:174