operation.diff for an apply_patch_call. Matches OpenAI’s streaming shape.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ApplyPatchCallOperationDiffDeltaEvent type definition
operation.diff for an apply_patch_call. Matches OpenAI’s streaming shape.
import { ApplyPatchCallOperationDiffDeltaEvent } from "@openrouter/sdk/models";
let value: ApplyPatchCallOperationDiffDeltaEvent = {
delta: "<value>",
itemId: "<id>",
outputIndex: 790412,
sequenceNumber: 0,
type: "response.apply_patch_call_operation_diff.delta",
};
| Field | Type | Required | Description |
|---|---|---|---|
delta | string | :heavy_check_mark: | N/A |
itemId | string | :heavy_check_mark: | N/A |
outputIndex | number | :heavy_check_mark: | N/A |
sequenceNumber | number | :heavy_check_mark: | N/A |
type | ”response.apply_patch_call_operation_diff.delta” | :heavy_check_mark: | N/A |