Skip to main content

ai_agents_runtime/optimization/
reasoning.rs

1use ai_agents_reasoning::ReasoningMode;
2
3/// Branch-safe auto reasoning decision.
4#[derive(Debug, Clone)]
5pub struct ReasoningBranchResult {
6    pub mode: ReasoningMode,
7}
8
9impl ReasoningBranchResult {
10    pub fn new(mode: ReasoningMode) -> Self {
11        Self { mode }
12    }
13}