AgentDecision.think constructor

AgentDecision.think(
  1. String thought, {
  2. double confidence = 0.8,
})

Convenience factory for a pure-thinking step.

Implementation

factory AgentDecision.think(String thought, {double confidence = 0.8}) =>
    AgentDecision(
      type: AgentDecisionType.think,
      thought: thought,
      confidence: confidence,
    );