Thinking

Enable agent thinking and reasoning

Thinking mode shows transparent reasoning process.

Diagram

Thinking

❓ Question

💭 Think

📝 Steps

💬 Answer

Quick Start

  1. Enable Thinking
    rust
    use praisonai::Agent;
    
    let agent = Agent::new()
        .name("Thinker")
        .thinking(true)
        .build()?;
    
    agent.chat("Solve this logic puzzle").await?;
    // Shows step-by-step thinking

When to Use

TaskUse Thinking?
Complex problems✅ Yes
Math calculations✅ Yes
Simple questions❌ No

Related