fix: nest internal semantic runtime resources
This commit is contained in:
@@ -58,6 +58,10 @@ test("loadConfig accepts only the allowed internal semantic runtime hosts", () =
|
||||
.toThrow(/internal.*qdrant|host validation|invalid/i);
|
||||
expect(() => loadConfig({ THT_INTERNAL_EMBEDDING_URL: "http://example.com:11434" }))
|
||||
.toThrow(/internal.*embedding|host validation|invalid/i);
|
||||
expect(() => loadConfig({ THT_INTERNAL_QDRANT_URL: "https://qdrant:6333" }))
|
||||
.toThrow(/internal.*qdrant|invalid/i);
|
||||
expect(() => loadConfig({ THT_INTERNAL_EMBEDDING_URL: "https://embedding:11434" }))
|
||||
.toThrow(/internal.*embedding|invalid/i);
|
||||
});
|
||||
|
||||
test("loadConfig enables the legacy workspace request only through explicit local mode", () => {
|
||||
|
||||
Reference in New Issue
Block a user