mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-02 12:50:48 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from openrouter.types import BaseModel
|
||||
import pydantic
|
||||
from typing import List, Optional
|
||||
from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
|
||||
class StreamLogprobTopLogprobTypedDict(TypedDict):
|
||||
r"""Alternative token with its log probability"""
|
||||
|
||||
bytes_: NotRequired[List[int]]
|
||||
logprob: NotRequired[float]
|
||||
token: NotRequired[str]
|
||||
|
||||
|
||||
class StreamLogprobTopLogprob(BaseModel):
|
||||
r"""Alternative token with its log probability"""
|
||||
|
||||
bytes_: Annotated[Optional[List[int]], pydantic.Field(alias="bytes")] = None
|
||||
|
||||
logprob: Optional[float] = None
|
||||
|
||||
token: Optional[str] = None
|
||||
Reference in New Issue
Block a user