Files
openrouter-python-sdk-retry…/docs/components/chatgenerationparams.md
T
OpenRouter Team 9bd5d826d8 Commits included in this export:
- 45687f423707f5838461585c568a024a19eb2f06
  - 3103d3ca68b6e42ccdb6136588ec2b6edc8dcab0
  - fd9f991606027cd86116317c71f8eb7b4e2aa3eb
  - 0f312019161edd76c1e5923d142c788d22f096d5
  - 5dbab2094bc744db4a90b3097520d897e5d0d634
  - 4c47d1af1735db18a1c1a7f463e801c7f71ad4e5

GitOrigin-RevId: 45687f423707f5838461585c568a024a19eb2f06
2026-02-20 19:10:44 +00:00

14 KiB
Raw Blame History

ChatGenerationParams

Fields

Field Type Required Description
provider OptionalNullable[components.Schema0] N/A
plugins List[components.Schema17] N/A
route OptionalNullable[components.Route] N/A
user Optional[str] N/A
session_id Optional[str] N/A
trace Optional[components.Schema19] N/A
messages List[components.Message] ✔️ N/A
model Optional[str] N/A
models List[str] N/A
frequency_penalty OptionalNullable[float] N/A
logit_bias Dict[str, float] N/A
logprobs OptionalNullable[bool] N/A
top_logprobs OptionalNullable[float] N/A
max_completion_tokens OptionalNullable[float] N/A
max_tokens OptionalNullable[float] N/A
metadata Dict[str, str] N/A
presence_penalty OptionalNullable[float] N/A
reasoning Optional[components.Reasoning] N/A
response_format Optional[components.ResponseFormat] N/A
seed OptionalNullable[int] N/A
stop OptionalNullable[components.Stop] N/A
stream Optional[bool] N/A
stream_options OptionalNullable[components.ChatStreamOptions] N/A
temperature OptionalNullable[float] N/A
parallel_tool_calls OptionalNullable[bool] N/A
tool_choice Optional[Any] N/A
tools List[components.ToolDefinitionJSON] N/A
top_p OptionalNullable[float] N/A
debug Optional[components.Debug] N/A
image_config Dict[str, components.ChatGenerationParamsImageConfig] N/A
modalities List[components.Modality] N/A