perl_lsp_ai_provider/lib.rs
1//! AI completion providers for perl-lsp.
2//!
3//! This crate provides pluggable AI backends for inline code completion.
4//! The primary provider is OpenAI-compatible, supporting any endpoint that
5//! implements the OpenAI chat completions API with SSE streaming.
6
7pub mod openai;
8pub mod prompt;
9pub mod rate_limiter;
10pub mod sse;
11
12pub use openai::{OpenAiConfig, OpenAiProvider};
13pub use rate_limiter::RateLimiter;