Skip to main content

Type Alias: GatewayInferenceCodeInterpreterToolCall

type GatewayInferenceCodeInterpreterToolCall = {
[key: string]: unknown;
id: string;
type: "code_interpreter_call";
code: string;
status: "in_progress" | "interpreting" | "completed";
results: GatewayInferenceCodeInterpreterToolOutput[];
};

Defined in: src/models/ai-gateway-inference.ts:4582

Portkey CodeInterpreterToolCall; additive response fields are preserved.

Example​

`GatewayInferenceCodeInterpreterToolCallSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

id​

id: string;

Defined in: src/models/ai-gateway-inference.ts:4583


type​

type: "code_interpreter_call";

Defined in: src/models/ai-gateway-inference.ts:4584


code​

code: string;

Defined in: src/models/ai-gateway-inference.ts:4585


status​

status: "in_progress" | "interpreting" | "completed";

Defined in: src/models/ai-gateway-inference.ts:4586


results​

results: GatewayInferenceCodeInterpreterToolOutput[];

Defined in: src/models/ai-gateway-inference.ts:4587