Skip to main content

aether_core/core/
mod.rs

1mod agent;
2mod agent_builder;
3mod error;
4mod prompt;
5mod retry_config;
6
7pub use crate::events::{AgentCommand, AgentMessage, Command, UserCommand};
8pub use agent::*;
9pub use agent_builder::*;
10pub use error::*;
11pub use prompt::*;
12pub use retry_config::RetryConfig;
13
14use llm::StreamingModelProvider;
15use std::sync::Arc;
16
17pub fn agent(llm: impl StreamingModelProvider + 'static) -> AgentBuilder {
18    AgentBuilder::new(Arc::new(llm))
19}