systemprompt-models 0.14.4

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! AI service configuration model.
//!
//! Plain serde data deserialized from profile config. Split into [`config`]
//! (the `AiConfig` aggregate, sampling, MCP, resilience, and history policy)
//! and [`model`] (provider definitions, per-model capabilities, limits, and
//! pricing). All types are re-exported here so consumers use
//! `crate::services::ai::*` regardless of the internal split.

pub mod config;
pub mod model;

pub use config::{AiConfig, HistoryConfig, McpConfig, ResilienceSettings, SamplingConfig};
pub use model::{AiProviderConfig, ModelCapabilities, ModelDefinition, ModelLimits, ModelPricing};