mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
37 lines
832 B
Python
37 lines
832 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
|
|
|
|
|
|
FunctionCallArgsDoneEventType = Literal["response.function_call_arguments.done",]
|
|
|
|
|
|
class FunctionCallArgsDoneEventTypedDict(TypedDict):
|
|
r"""Event emitted when function call arguments streaming is complete"""
|
|
|
|
arguments: str
|
|
item_id: str
|
|
name: str
|
|
output_index: int
|
|
sequence_number: int
|
|
type: FunctionCallArgsDoneEventType
|
|
|
|
|
|
class FunctionCallArgsDoneEvent(BaseModel):
|
|
r"""Event emitted when function call arguments streaming is complete"""
|
|
|
|
arguments: str
|
|
|
|
item_id: str
|
|
|
|
name: str
|
|
|
|
output_index: int
|
|
|
|
sequence_number: int
|
|
|
|
type: FunctionCallArgsDoneEventType
|