albert-api 1.1.1

Multi-provider LLM client for Albert CLI — bridges Anthropic, OpenAI, Google Gemini, Ollama, XAI and the Ternlang API with unified streaming and auth
Documentation
1
2
3
4
5
6
7
8
9
mod client;
mod error;
mod sse;
mod types;

pub use client::{TernlangClient, LlmProvider, read_base_url, resolve_startup_auth_source, resolve_auth_for_provider, detect_provider_and_model_from_env, OAuthConfig};
pub use error::ApiError;
pub use sse::{parse_frame, SseParser};
pub use types::*;