capri-llm: add crate root

This commit is contained in:
nocode committed 2026-11-11 20:20:47 +01:00
1 parent 7cfdd352d3
commit a359a22228
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
//! Model backends for Capri: the managed Ollama (streaming `/api/chat`, model management
//! endpoints, owned server), OpenAI-compatible APIs and Lemonade, API key storage, and the
//! inference settings sections.
pub mod backend;
pub mod ollama;
pub mod openai;
pub mod secrets;
pub mod sections;
pub mod server;
pub use backend::LlmBackend;
pub use ollama::{ChatDone, ChatRequest, LlmError, Message, ModelEntry, Ollama, Options, RunningModel, ToolCall, ToolFunction};
pub use openai::{ApiConnection, OpenAi};
pub use secrets::SecretStore;
pub use sections::{ApiSection, InferenceSection, RouterSection};