mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-02 12:50:48 +08:00
fixes
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user