mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
97 lines
2.0 KiB
Python
97 lines
2.0 KiB
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from openrouter.types import UnrecognizedStr
|
|
from typing import Literal, Union
|
|
|
|
|
|
BYOKProviderSlug = Union[
|
|
Literal[
|
|
"ai21",
|
|
"aion-labs",
|
|
"akashml",
|
|
"alibaba",
|
|
"amazon-bedrock",
|
|
"amazon-nova",
|
|
"ambient",
|
|
"anthropic",
|
|
"arcee-ai",
|
|
"atlas-cloud",
|
|
"avian",
|
|
"azure",
|
|
"baidu",
|
|
"baseten",
|
|
"black-forest-labs",
|
|
"byteplus",
|
|
"cerebras",
|
|
"chutes",
|
|
"cirrascale",
|
|
"clarifai",
|
|
"cloudflare",
|
|
"cohere",
|
|
"crusoe",
|
|
"darkbloom",
|
|
"decart",
|
|
"deepinfra",
|
|
"deepseek",
|
|
"dekallm",
|
|
"digitalocean",
|
|
"featherless",
|
|
"fireworks",
|
|
"friendli",
|
|
"gmicloud",
|
|
"google-ai-studio",
|
|
"google-vertex",
|
|
"groq",
|
|
"inception",
|
|
"inceptron",
|
|
"inference-net",
|
|
"infermatic",
|
|
"inflection",
|
|
"io-net",
|
|
"ionstream",
|
|
"liquid",
|
|
"mancer",
|
|
"mara",
|
|
"minimax",
|
|
"mistral",
|
|
"modelrun",
|
|
"modular",
|
|
"moonshotai",
|
|
"morph",
|
|
"ncompass",
|
|
"nebius",
|
|
"nex-agi",
|
|
"nextbit",
|
|
"novita",
|
|
"nvidia",
|
|
"open-inference",
|
|
"openai",
|
|
"parasail",
|
|
"perceptron",
|
|
"perplexity",
|
|
"phala",
|
|
"poolside",
|
|
"recraft",
|
|
"reka",
|
|
"relace",
|
|
"sambanova",
|
|
"seed",
|
|
"siliconflow",
|
|
"sourceful",
|
|
"stepfun",
|
|
"streamlake",
|
|
"switchpoint",
|
|
"together",
|
|
"upstage",
|
|
"venice",
|
|
"wafer",
|
|
"wandb",
|
|
"xai",
|
|
"xiaomi",
|
|
"z-ai",
|
|
],
|
|
UnrecognizedStr,
|
|
]
|
|
r"""The upstream provider this credential authenticates against, as a lowercase slug (e.g. `openai`, `anthropic`, `amazon-bedrock`)."""
|