neuron_turn/lib.rs
1#![deny(missing_docs)]
2//! Shared toolkit for building operators.
3//!
4//! Provides the [`Provider`] trait for making model calls,
5//! [`ContextStrategy`] for managing context between calls,
6//! and all the types needed by operator implementations.
7
8pub mod config;
9pub mod context;
10pub mod convert;
11pub mod provider;
12pub mod types;
13
14// Re-exports
15pub use config::NeuronTurnConfig;
16pub use context::{ContextStrategy, NoCompaction};
17pub use convert::{
18 content_block_to_part, content_part_to_block, content_to_parts, content_to_user_message,
19 parts_to_content,
20};
21pub use provider::{Provider, ProviderError};
22pub use types::*;