aidale_core/runtime/
mod.rs

1//! Runtime layer for AI Core.
2//!
3//! This module provides the runtime execution layer that sits between
4//! the high-level API (generate_text, generate_object) and the low-level
5//! provider interface (chat_completion).
6//!
7//! The runtime layer is responsible for:
8//! - Converting high-level requests to provider-specific chat completion requests
9//! - Selecting appropriate strategies for different providers (JSON Schema vs JSON Mode)
10//! - Executing plugins in the request lifecycle
11//! - Managing layers (logging, retry, caching, etc.)
12
13pub mod executor;
14
15pub use executor::RuntimeExecutor;