mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
22 lines
566 B
Python
22 lines
566 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from openrouter.types import BaseModel
|
|
from typing import Optional
|
|
from typing_extensions import NotRequired, TypedDict
|
|
|
|
|
|
class OpenResponsesTopLogprobsTypedDict(TypedDict):
|
|
r"""Alternative token with its log probability"""
|
|
|
|
token: NotRequired[str]
|
|
logprob: NotRequired[float]
|
|
|
|
|
|
class OpenResponsesTopLogprobs(BaseModel):
|
|
r"""Alternative token with its log probability"""
|
|
|
|
token: Optional[str] = None
|
|
|
|
logprob: Optional[float] = None
|