ai_lib/client/
mod.rs

1//! 客户端模块入口点,提供统一的AI客户端接口和构建器
2//!
3//! Client module entry point.
4//!
5//! This module wires together the refactored client implementation that
6//! previously lived in the monolithic `src/client.rs`.
7
8mod batch;
9mod builder;
10mod client_impl;
11mod helpers;
12mod metadata;
13mod model_options;
14mod provider;
15mod provider_factory;
16mod request;
17mod stream;
18
19pub use builder::AiClientBuilder;
20pub use client_impl::AiClient;
21pub use model_options::ModelOptions;
22pub use provider::Provider;
23pub use stream::CancelHandle;
24
25pub(crate) use provider_factory::ProviderFactory;