feat: unify installation model catalog

This commit is contained in:
Codex
2026-09-02 18:45:33 +02:00
parent ae053961a3
commit 7b7927bfe5
169 changed files with 3696 additions and 4572 deletions
+8 -2
View File
@@ -34,8 +34,13 @@ def test_local_compose_uses_the_generic_external_endpoint_contract():
assert name in environment
assert environment["THT_INTERNAL_QDRANT_URL"] == "http://qdrant:6333"
assert environment["THT_INTERNAL_EMBEDDING_URL"] == "http://embedding:11434"
assert environment["THT_INTERNAL_EMBEDDING_MODEL"] == "qwen3-embedding:0.6b"
assert environment["THT_INTERNAL_EMBEDDING_DIMENSIONS"] == "1024"
# Identity and dimensions come only from the installation-generated Compose projection.
for name in (
"THT_INTERNAL_EMBEDDING_ID",
"THT_INTERNAL_EMBEDDING_MODEL",
"THT_INTERNAL_EMBEDDING_DIMENSIONS",
):
assert name not in environment
for name in ("THT_VEC_REST_URL", "THT_VEC_WRITE_REST_URL", "THT_OLLAMA_URL"):
assert name not in environment
@@ -53,6 +58,7 @@ def test_local_compose_uses_the_generic_external_endpoint_contract():
model_init = compose["services"]["embedding-model-init"]
assert "ports" not in model_init
assert "OLLAMA_MODEL" not in model_init.get("environment", {})
assert model_init["depends_on"]["embedding"]["condition"] == "service_healthy"
assert compose["services"]["core"]["depends_on"]["embedding-model-init"]["condition"] == "service_completed_successfully"