repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

smith-ai/src/lib.rs

Raw
File outline
#![forbid(unsafe_code)]
#![warn(missing_docs)]

//! Smith provider integrations and model registry.
//!
//! Vendor wire formats stop at the adapter boundary: each adapter is an
//! incremental decoder producing [`smith::stream::StreamEvent`]s, proven
//! against the shared conformance kit in [`conformance`].

/// Anthropic Messages adapter.
pub mod anthropic;
/// Stream conformance kit shared by all vendor adapters.
pub mod conformance;
/// Google Gemini adapter.
pub mod gemini;
/// OpenAI-compatible chat-completions adapter.
pub mod openai;

pub use anthropic::AnthropicDecoder;
pub use conformance::{Expected, Fixture, StreamDecoder};
pub use gemini::GeminiDecoder;
pub use openai::OpenAiDecoder;