fix: nest internal semantic runtime resources

This commit is contained in:
2026-08-08 17:20:55 +02:00
parent bc8afe0205
commit 9f104171b6
5 changed files with 60 additions and 14 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ function internalServiceUrl(
throw new Error(`${label} configuration is invalid`);
}
if (
(parsed.protocol !== "http:" && parsed.protocol !== "https:")
parsed.protocol !== "http:"
|| parsed.username.length > 0
|| parsed.password.length > 0
|| parsed.pathname !== "/"
+6 -6
View File
@@ -140,18 +140,18 @@ export function renderRuntimeConfig(
...(installation.profile === undefined ? {} : { profile: installation.profile }),
language: descriptor.workspace.language,
database,
embeddings: {
provider: "ollama_internal",
base_url: semanticRuntime.internalEmbeddingUrl,
model: semanticRuntime.internalEmbeddingModel,
dimensions: semanticRuntime.internalEmbeddingDimensions,
},
resources: {
vector: {
engine: "qdrant",
base_url: semanticRuntime.internalQdrantUrl,
collection: descriptor.semantic_index.vector_store.collection,
},
embeddings: {
provider: "ollama_internal",
base_url: semanticRuntime.internalEmbeddingUrl,
model: semanticRuntime.internalEmbeddingModel,
dimensions: semanticRuntime.internalEmbeddingDimensions,
},
},
roots: paths,
paths,