Emitted when a partial code snippet is added by the code interpreter.

interface ResponseCodeInterpreterCallCodeDeltaEvent {
    delta: string;
    output_index: number;
    type: "response.code_interpreter_call.code.delta";
}

Properties

delta: string

The partial code snippet added by the code interpreter.

output_index: number

The index of the output item that the code interpreter call is in progress.

type: "response.code_interpreter_call.code.delta"

The type of the event. Always response.code_interpreter_call.code.delta.