mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
38 lines
839 B
Python
38 lines
839 B
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
|
|
|
|
|
|
Parameter = Union[
|
|
Literal[
|
|
"temperature",
|
|
"top_p",
|
|
"top_k",
|
|
"min_p",
|
|
"top_a",
|
|
"frequency_penalty",
|
|
"presence_penalty",
|
|
"repetition_penalty",
|
|
"max_tokens",
|
|
"max_completion_tokens",
|
|
"logit_bias",
|
|
"logprobs",
|
|
"top_logprobs",
|
|
"seed",
|
|
"response_format",
|
|
"structured_outputs",
|
|
"stop",
|
|
"tools",
|
|
"tool_choice",
|
|
"parallel_tool_calls",
|
|
"include_reasoning",
|
|
"reasoning",
|
|
"reasoning_effort",
|
|
"web_search_options",
|
|
"verbosity",
|
|
],
|
|
UnrecognizedStr,
|
|
]
|