mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
14 lines
2.2 KiB
Plaintext
14 lines
2.2 KiB
Plaintext
---
|
|
title: "ApplyPatchUpdateFileOperation"
|
|
---
|
|
|
|
The `update_file` variant of an `apply_patch_call.operation`. Carries a V4A diff describing edits to an existing file.
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
| `diff` | *str* | :heavy_check_mark: | N/A |
|
|
| `path` | *str* | :heavy_check_mark: | N/A |
|
|
| `type` | [components.ApplyPatchUpdateFileOperationType](../components/applypatchupdatefileoperationtype.mdx) | :heavy_check_mark: | N/A | |