mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
26 lines
1.3 KiB
Python
26 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 TaskClassificationModelTypedDict(TypedDict):
|
||
id: str
|
||
r"""Model identifier (permaslug)."""
|
||
tag_token_share: float
|
||
r"""Fraction of this classification's sampled token volume attributed to this model (0–1). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded)."""
|
||
tag_usage_share: float
|
||
r"""Fraction of this classification's sampled requests attributed to this model (0–1). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded)."""
|
||
|
||
|
||
class TaskClassificationModel(BaseModel):
|
||
id: str
|
||
r"""Model identifier (permaslug)."""
|
||
|
||
tag_token_share: float
|
||
r"""Fraction of this classification's sampled token volume attributed to this model (0–1). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded)."""
|
||
|
||
tag_usage_share: float
|
||
r"""Fraction of this classification's sampled requests attributed to this model (0–1). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded)."""
|