Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Emitted when operation.diff streaming completes for an apply_patch_call.

Example Usage

import { ApplyPatchCallOperationDiffDoneEvent } from "@openrouter/sdk/models";

let value: ApplyPatchCallOperationDiffDoneEvent = {
  diff: "<value>",
  itemId: "<id>",
  outputIndex: 170720,
  sequenceNumber: 0,
  type: "response.apply_patch_call_operation_diff.done",
};

Fields

FieldTypeRequiredDescription
diffstring:heavy_check_mark:N/A
itemIdstring:heavy_check_mark:N/A
outputIndexnumber:heavy_check_mark:N/A
sequenceNumbernumber:heavy_check_mark:N/A
type”response.apply_patch_call_operation_diff.done”:heavy_check_mark:N/A