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> { ... }
}
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> { ... }
}