Path Parameters
Body
Payload to generate a title for a conversation.
Maximum length of the generated title
1 <= x <= 200Optional LLM to use for title generation Language model interface for OpenHands agents.
The LLM class provides a unified interface for interacting with various language models through the litellm library. It handles model configuration, API authentication, retry logic, and tool calling capabilities.
Example: >>> from openhands.sdk import LLM >>> from pydantic import SecretStr >>> llm = LLM( ... model="claude-sonnet-4-20250514", ... api_key=SecretStr("your-api-key"), ... usage_id="my-agent" ... ) >>> # Use with agent or conversation
Response
Successful Response
Response containing the generated conversation title.
The generated title for the conversation

