name
(Optional[str]
): The name of the OpenRouter model to use.openrouter_api_key
(Optional[str]
): The OpenRouter API key.base_url
(str
): The base URL for the OpenRouter API.temperature
(float
): The temperature of the LLM.max_tokens
(int
): The maximum number of tokens to generate.messages
(List[Message]
): The messages to pass to the OpenRouterLLM.str
: The response from the OpenRouterLLM.