feat: Embeddings über llama.cpp im Gateway anbieten

This commit is contained in:
2026-11-18 20:02:37 +01:00
parent 3509e731cd
commit 2c1a3d487a
12 changed files with 268 additions and 14 deletions

View File

@ -52,6 +52,11 @@ pub(super) async fn page(State(state): State<Arc<AppState>>, headers: HeaderMap)
sprachmodelle.push(m.name);
}
}
Ok(Some(plan))
if plan
.start_parameters
.get("embeddings")
.is_some_and(|v| v == "true") => {}
_ => models.push(m.name),
}
}