zai-rs 0.6.0

Type-safe async Rust SDK for Zhipu AI (BigModel) APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! HTTP client infrastructure: the shared [`ZaiClient`], validated endpoints,
//! transport policies and error types.

pub mod config;
pub mod endpoint;
pub mod error;
pub(crate) mod routes;
pub(crate) mod secret;
pub(crate) mod transport;
pub(crate) mod validation;

// Re-export the main public types.
pub use config::{
    AdditionalHeader, HttpTransportConfig, HttpTransportConfigBuilder, RetryOverride, ZaiClient,
    ZaiClientBuilder,
};
pub use endpoint::{ApiFamily, EndpointConfig, EndpointConfigBuilder};
pub use error::*;