mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from openrouter.types import BaseModel
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
class AppRankingsItemTypedDict(TypedDict):
|
|
app_id: int
|
|
r"""Stable numeric identifier of the app on OpenRouter."""
|
|
app_name: str
|
|
r"""Public display name of the app."""
|
|
rank: int
|
|
r"""1-based position of the app within this response, per the requested `sort`."""
|
|
total_requests: int
|
|
r"""Number of requests attributed to the app inside the date window."""
|
|
total_tokens: str
|
|
r"""Sum of `prompt_tokens + completion_tokens` attributed to the app inside the date window, returned as a decimal string so 64-bit values are not truncated."""
|
|
|
|
|
|
class AppRankingsItem(BaseModel):
|
|
app_id: int
|
|
r"""Stable numeric identifier of the app on OpenRouter."""
|
|
|
|
app_name: str
|
|
r"""Public display name of the app."""
|
|
|
|
rank: int
|
|
r"""1-based position of the app within this response, per the requested `sort`."""
|
|
|
|
total_requests: int
|
|
r"""Number of requests attributed to the app inside the date window."""
|
|
|
|
total_tokens: str
|
|
r"""Sum of `prompt_tokens + completion_tokens` attributed to the app inside the date window, returned as a decimal string so 64-bit values are not truncated."""
|