multi-llm 1.0.0

Unified multi-provider LLM client with support for OpenAI, Anthropic, Ollama, and LMStudio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Shared OpenAI-compatible API structures and utilities
//!
//! This module contains the common request/response structures used by
//! OpenAI-compatible providers like OpenAI itself and LM Studio.
//!
//! Split into modules to maintain manageable file sizes:
//! - `types` - Core data structures and types (85 LOC)
//! - `utils` - Configuration and conversion utilities (remaining functions)

pub mod types;
pub mod utils;

#[cfg(test)]
mod tests;

// Re-export main types for backward compatibility
pub use types::*;
pub use utils::*;