litellm-rs 0.4.16

A high-performance AI Gateway written in Rust, providing OpenAI-compatible APIs with intelligent routing, load balancing, and enterprise features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! DeepL Translation Provider Implementation

pub mod config;
pub mod error_mapper;
pub mod model_info;
pub mod provider;

pub use config::DeepLConfig;
pub use error_mapper::DeepLErrorMapper;
pub use provider::DeepLProvider;

pub const PROVIDER_NAME: &str = "deepl";
pub const DEFAULT_BASE_URL: &str = "https://api-free.deepl.com/v2";
pub const PRO_BASE_URL: &str = "https://api.deepl.com/v2";