mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
28 lines
793 B
Python
28 lines
793 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from openrouter.types import BaseModel
|
|
from typing import Literal
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
ApplyPatchUpdateFileOperationType = Literal["update_file",]
|
|
|
|
|
|
class ApplyPatchUpdateFileOperationTypedDict(TypedDict):
|
|
r"""The `update_file` variant of an `apply_patch_call.operation`. Carries a V4A diff describing edits to an existing file."""
|
|
|
|
diff: str
|
|
path: str
|
|
type: ApplyPatchUpdateFileOperationType
|
|
|
|
|
|
class ApplyPatchUpdateFileOperation(BaseModel):
|
|
r"""The `update_file` variant of an `apply_patch_call.operation`. Carries a V4A diff describing edits to an existing file."""
|
|
|
|
diff: str
|
|
|
|
path: str
|
|
|
|
type: ApplyPatchUpdateFileOperationType
|