feat: render private semantic service endpoints
This commit is contained in:
@@ -97,7 +97,7 @@ export function resolveBinding(
|
||||
): ResolvedBinding {
|
||||
const descriptor = validateWorkspaceDescriptor(workspace);
|
||||
if (descriptor.workspace.schema_version === 3 && role !== "DWH") {
|
||||
throw new Error("Schema version 3 semantic bindings are not supported by the legacy installation contract");
|
||||
return { transport: "rest_api", values: {}, missing: [] };
|
||||
}
|
||||
|
||||
const contract = buildInstallationContract(descriptor);
|
||||
@@ -143,9 +143,6 @@ export function resolveRuntimeBindings(
|
||||
secretRoots: readonly string[],
|
||||
): RuntimeBindings {
|
||||
const descriptor = validateWorkspaceDescriptor(workspace);
|
||||
if (descriptor.workspace.schema_version === 3) {
|
||||
throw new Error("Schema version 3 semantic runtime bindings are not supported before the internal Qdrant/Ollama runtime lands");
|
||||
}
|
||||
|
||||
return {
|
||||
dwh: resolveBinding(descriptor, "DWH", env, secretRoots),
|
||||
|
||||
Reference in New Issue
Block a user