synaptic-models 0.4.0

ProviderBackend abstraction and ChatModel wrappers (Retry, RateLimit, StructuredOutput, BoundTools)
Documentation
mod scripted;
pub use scripted::ScriptedChatModel;

pub mod backend;
pub use backend::{
    ByteStream, FakeBackend, HttpBackend, ProviderBackend, ProviderRequest, ProviderResponse,
};

mod retry;
pub use retry::{RetryChatModel, RetryPolicy};

mod rate_limit;
pub use rate_limit::RateLimitedChatModel;

mod token_bucket;
pub use token_bucket::{TokenBucket, TokenBucketChatModel};

mod structured_output;
pub use structured_output::StructuredOutputChatModel;

mod bound_tools;
pub use bound_tools::BoundToolsChatModel;