aether-agent-core 0.6.34

A minimal Rust library for building AI agents with MCP tool integration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::events::TaskOutcome;

#[derive(Debug)]
pub(super) enum QueuedInput {
    User(Vec<llm::ContentBlock>),
    TaskOutcome(Box<TaskOutcome>),
}

impl QueuedInput {
    pub(super) fn content_blocks(&self) -> Vec<llm::ContentBlock> {
        match self {
            Self::User(content) => content.clone(),
            Self::TaskOutcome(outcome) => outcome.content_blocks(),
        }
    }
}