aidaemon 0.9.35

A personal AI agent that runs as a background daemon, accessible via Telegram, Slack, or Discord, with tool use, MCP integration, and persistent memory
1
2
3
4
5
6
7
8
9
10
use super::response_phase::ResponsePhaseOutcome;
use super::POLICY_METRICS;
use std::sync::atomic::Ordering;

pub(super) fn direct_return_ok(reply: String) -> ResponsePhaseOutcome {
    POLICY_METRICS
        .response_direct_return_total
        .fetch_add(1, Ordering::Relaxed);
    ResponsePhaseOutcome::Return(Ok(reply))
}