mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
chore: 🐝 Update SDK - Generate 0.9.2 (#205)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
0c735989c1
commit
0f116c9792
@@ -0,0 +1,27 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from openrouter.types import BaseModel
|
||||
from typing import Literal, Optional
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
ParetoRouterPluginID = Literal["pareto-router",]
|
||||
|
||||
|
||||
class ParetoRouterPluginTypedDict(TypedDict):
|
||||
id: ParetoRouterPluginID
|
||||
enabled: NotRequired[bool]
|
||||
r"""Set to false to disable the pareto-router plugin for this request. Defaults to true."""
|
||||
min_coding_score: NotRequired[float]
|
||||
r"""Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier."""
|
||||
|
||||
|
||||
class ParetoRouterPlugin(BaseModel):
|
||||
id: ParetoRouterPluginID
|
||||
|
||||
enabled: Optional[bool] = None
|
||||
r"""Set to false to disable the pareto-router plugin for this request. Defaults to true."""
|
||||
|
||||
min_coding_score: Optional[float] = None
|
||||
r"""Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier."""
|
||||
Reference in New Issue
Block a user