mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
36 lines
938 B
Python
36 lines
938 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
|
|
|
|
|
|
ApplyPatchCallOperationDiffDeltaEventType = Literal[
|
|
"response.apply_patch_call_operation_diff.delta",
|
|
]
|
|
|
|
|
|
class ApplyPatchCallOperationDiffDeltaEventTypedDict(TypedDict):
|
|
r"""Incremental chunk of `operation.diff` for an `apply_patch_call`. Matches OpenAI's streaming shape."""
|
|
|
|
delta: str
|
|
item_id: str
|
|
output_index: int
|
|
sequence_number: int
|
|
type: ApplyPatchCallOperationDiffDeltaEventType
|
|
|
|
|
|
class ApplyPatchCallOperationDiffDeltaEvent(BaseModel):
|
|
r"""Incremental chunk of `operation.diff` for an `apply_patch_call`. Matches OpenAI's streaming shape."""
|
|
|
|
delta: str
|
|
|
|
item_id: str
|
|
|
|
output_index: int
|
|
|
|
sequence_number: int
|
|
|
|
type: ApplyPatchCallOperationDiffDeltaEventType
|