Skip to main content

Module api

Module api 

Source
Expand description

Shared API response models used by Web routes.

Structs§

MessageResponse
Response model for a chat message.
SessionResponse
Session information model.
ToolCallResponse
Serialization view of a ToolCall for API responses.

Functions§

tool_call_to_response
Recursively convert a ToolCall to ToolCallResponse.