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>
31 lines
987 B
Python
31 lines
987 B
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 TaskClassificationMacroCategoryTypedDict(TypedDict):
|
||
key: str
|
||
r"""Macro-category identifier."""
|
||
label: str
|
||
r"""Human-readable label for the macro-category."""
|
||
token_share: float
|
||
r"""Combined token share of all classifications in this macro-category (0–1)."""
|
||
usage_share: float
|
||
r"""Combined usage share of all classifications in this macro-category (0–1)."""
|
||
|
||
|
||
class TaskClassificationMacroCategory(BaseModel):
|
||
key: str
|
||
r"""Macro-category identifier."""
|
||
|
||
label: str
|
||
r"""Human-readable label for the macro-category."""
|
||
|
||
token_share: float
|
||
r"""Combined token share of all classifications in this macro-category (0–1)."""
|
||
|
||
usage_share: float
|
||
r"""Combined usage share of all classifications in this macro-category (0–1)."""
|