mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Speakeasy regeneration with latest schema changes including type renames and new server tool models.
34 lines
803 B
Python
34 lines
803 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
|
|
|
|
|
|
FunctionCallArgsDeltaEventType = Literal["response.function_call_arguments.delta",]
|
|
|
|
|
|
class FunctionCallArgsDeltaEventTypedDict(TypedDict):
|
|
r"""Event emitted when function call arguments are being streamed"""
|
|
|
|
type: FunctionCallArgsDeltaEventType
|
|
item_id: str
|
|
output_index: float
|
|
delta: str
|
|
sequence_number: float
|
|
|
|
|
|
class FunctionCallArgsDeltaEvent(BaseModel):
|
|
r"""Event emitted when function call arguments are being streamed"""
|
|
|
|
type: FunctionCallArgsDeltaEventType
|
|
|
|
item_id: str
|
|
|
|
output_index: float
|
|
|
|
delta: str
|
|
|
|
sequence_number: float
|