Fix workspace policy loading
This commit is contained in:
@@ -424,7 +424,7 @@ export function sanitizeCanonicalWorkspace(value: unknown): CanonicalWorkspace |
|
||||
const dwhPort = dwh.port === undefined ? undefined : positiveInteger(dwh.port, 65_535);
|
||||
const dwhTimeout = dwh.timeout_ms === undefined ? undefined : positiveInteger(dwh.timeout_ms);
|
||||
const dwhTransports = uniqueChoices(dwh.supported_transports, ["postgres_direct", "rest_api", "ssh_tunnel"] as const);
|
||||
const collection = identifier(vectorStore.collection);
|
||||
const collection = workspaceId(vectorStore.collection);
|
||||
const vectorDimensions = positiveInteger(vectorStore.dimensions, 32_768);
|
||||
const distance = oneOf(vectorStore.distance, ["cosine"] as const);
|
||||
const embeddingProvider = oneOf(embedding.provider, ["ollama_internal"] as const);
|
||||
|
||||
Reference in New Issue
Block a user