mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
35 lines
1.0 KiB
Python
35 lines
1.0 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 PercentileStatsTypedDict(TypedDict):
|
|
r"""Latency percentiles in milliseconds over the last 30 minutes. Latency measures time to first token. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests."""
|
|
|
|
p50: float
|
|
r"""Median (50th percentile)"""
|
|
p75: float
|
|
r"""75th percentile"""
|
|
p90: float
|
|
r"""90th percentile"""
|
|
p99: float
|
|
r"""99th percentile"""
|
|
|
|
|
|
class PercentileStats(BaseModel):
|
|
r"""Latency percentiles in milliseconds over the last 30 minutes. Latency measures time to first token. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests."""
|
|
|
|
p50: float
|
|
r"""Median (50th percentile)"""
|
|
|
|
p75: float
|
|
r"""75th percentile"""
|
|
|
|
p90: float
|
|
r"""90th percentile"""
|
|
|
|
p99: float
|
|
r"""99th percentile"""
|