llm-connector 0.4.18

Next-generation Rust library for LLM protocol abstraction. V2 architecture with 7000x+ performance boost. Supports 5 protocols (OpenAI, Anthropic, Aliyun, Zhipu, Ollama) with clean Protocol/Provider separation, type-safe interface, and universal streaming.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! V2架构核心模块
//!
//! 这个模块包含V2架构的所有核心组件:
//! - 统一的trait定义 (Protocol, Provider)
//! - HTTP客户端实现
//! - 通用提供商实现

pub mod traits;
pub mod client;

// 重新导出核心类型
pub use traits::{Protocol, Provider, GenericProvider};
pub use client::HttpClient;