Trait ChatResponse

Source
pub trait ChatResponse: Debug + Display {
    // Required methods
    fn text(&self) -> Option<String>;
    fn tool_calls(&self) -> Option<Vec<ToolCall>>;

    // Provided method
    fn thinking(&self) -> Option<String> { ... }
}

Required Methods§

Provided Methods§

Implementors§