systemprompt-ai 0.21.1

Provider-agnostic LLM integration for systemprompt.io AI governance — Anthropic, OpenAI, Gemini, and local models unified behind one governed pipeline with cost tracking and audit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! [`crate::AiService`] internals.
//!
//! Split across generation, streaming, tool execution, planning, the
//! [`crate::AiProvider`] bridge, and the streaming storage wrapper.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

mod generation;
mod planning;
mod provider_impl;
mod service;
mod stream_wrapper;
mod streaming;
mod tool_execution;

pub use service::AiService;