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

@ -72,6 +72,7 @@ impl Engine for FixedEngine {
Endpoint {
base_url: format!("http://127.0.0.1:{}", i.port),
protocol: Protocol::OpenAi,
upstream_model: None,
}
}
async fn measure(&self, _i: &InstanceHandle) -> Usage {
@ -199,6 +200,7 @@ async fn gateway(delay_ms: u64, fail: bool) -> Gateway {
store
.register_llm(&NewLlm {
name: name.to_string(),
engine: "llama.cpp".to_string(),
path: PathBuf::from(format!("/m/{name}.gguf")),
quantization: None,
size_bytes: None,