feat: add agent structure and improve tooling for provider

This commit is contained in:
mai1015 2026-02-16 00:40:43 -05:00 committed by Chummy
parent e2c966d31e
commit b341fdb368
21 changed files with 2567 additions and 443 deletions

View file

@ -1,3 +1,24 @@
pub mod agent;
pub mod dispatcher;
pub mod loop_;
pub mod memory_loader;
pub mod prompt;
#[allow(unused_imports)]
pub use agent::{Agent, AgentBuilder};
pub use loop_::{process_message, run};
#[cfg(test)]
mod tests {
use super::*;
fn assert_reexport_exists<F>(_value: F) {}
#[test]
fn run_function_is_reexported() {
assert_reexport_exists(run);
assert_reexport_exists(process_message);
assert_reexport_exists(loop_::run);
assert_reexport_exists(loop_::process_message);
}
}