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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user