feat: add AI catalog description generation
This commit is contained in:
@@ -290,6 +290,14 @@ test("loadConfig accepts only an absolute generic model key file", () => {
|
||||
.toThrow(/model credential configuration is invalid/);
|
||||
});
|
||||
|
||||
test("loadConfig accepts only an absolute runtime installation descriptor path", () => {
|
||||
expect(loadConfig({
|
||||
THT_INSTALLATION_CONFIG_FILE: "/run/thothii-installation/thothii-installation.yaml",
|
||||
}).installationConfigFile).toBe("/run/thothii-installation/thothii-installation.yaml");
|
||||
expect(() => loadConfig({ THT_INSTALLATION_CONFIG_FILE: "host/thothii-installation.yaml" }))
|
||||
.toThrow("installation configuration is invalid");
|
||||
});
|
||||
|
||||
test("loadConfig accepts a file-backed catalog role and rejects partial catalog configuration", () => {
|
||||
expect(loadConfig({
|
||||
THT_CATALOG_DB_HOST: "catalog-db",
|
||||
|
||||
Reference in New Issue
Block a user