ApplyPatchCallOperationDiffDeltaEvent - TypeScript SDK

ApplyPatchCallOperationDiffDeltaEvent type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Incremental chunk of operation.diff for an apply_patch_call. Matches OpenAI’s streaming shape.

Example Usage

1import { ApplyPatchCallOperationDiffDeltaEvent } from "@openrouter/sdk/models";
2
3let value: ApplyPatchCallOperationDiffDeltaEvent = {
4 delta: "<value>",
5 itemId: "<id>",
6 outputIndex: 790412,
7 sequenceNumber: 0,
8 type: "response.apply_patch_call_operation_diff.delta",
9};

Fields

FieldTypeRequiredDescription
deltastring✔️N/A
itemIdstring✔️N/A
outputIndexnumber✔️N/A
sequenceNumbernumber✔️N/A
type”response.apply_patch_call_operation_diff.delta”✔️N/A