feat: Ollama-Adapter (Managed und Attached), Engine-Wahl in der Registry (M2.6a, gegen Attrappe)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 17:59:24 +01:00
parent f78d1aa9d5
commit 216fb47686
24 changed files with 1488 additions and 27 deletions

View File

@ -2,6 +2,8 @@
//!
//! Der Vertrag steht in [`Engine`]. Adapter:
//! - [`LlamaCppEngine`]: startet `llama-server` als verwalteten Prozess (Managed).
//! - [`OllamaEngine`]: Ollama, verwaltet (`ollama serve` als Prozess) oder angehängt
//! (laufender Server).
//! - [`MockEngine`]: Attrappe ohne Prozesse für Scheduler- und Vertragstests.
//!
//! Stand M2.2: Die Weiterleitung von Anfragen (`forward`) kommt mit der API
@ -11,12 +13,14 @@
mod engine;
mod llama;
mod mock;
mod ollama;
mod process;
mod types;
pub use engine::Engine;
pub use llama::{LlamaCppConfig, LlamaCppEngine};
pub use mock::{MockConfig, MockEngine};
pub use ollama::{OllamaConfig, OllamaEngine, OllamaMode};
pub use process::process_exists;
pub use types::{
AdapterError, Capabilities, DiscoveredArtifact, Endpoint, EngineInfo, Health, InstanceHandle,