Skip to main content

newt_core/
lib.rs

1//! Newt-Agent core: shared types, errors, and the tier router.
2//!
3//! The router is the NeMoCode inheritance — it classifies an incoming turn
4//! into a `Tier` (FAST / STANDARD / COMPLEX / REVIEW), and asks the
5//! configured backends which can serve that tier.
6
7pub mod caveats;
8pub mod config;
9pub mod dgx;
10pub mod error;
11pub mod model_id;
12pub mod router;
13pub mod session;
14
15#[cfg(feature = "pyo3")]
16pub mod pyo3_module;
17
18pub use caveats::{Caveats, CountBound, Scope};
19pub use config::Config;
20pub use dgx::{DgxConfig, DgxFormation, DgxNode, DgxNotConfigured, EndpointKind};
21pub use error::NewtError;
22pub use model_id::ModelId;
23pub use router::{Router, Tier};
24pub use session::SessionId;