fix(staging): allow model catalog bootstrap
This commit is contained in:
@@ -66,6 +66,10 @@ test("health endpoint exposes deployment identity for production verification",
|
||||
assert.match(source, /const defaults = catalog\.models\.filter/);
|
||||
assert.match(source, /defaults\.length === 1/);
|
||||
assert.match(source, /default_model_unavailable/);
|
||||
assert.match(source, /message === "database_model_catalog_unavailable"/);
|
||||
assert.match(source, /: \{ status: "degraded", message \}/);
|
||||
assert.match(source, /status: response\.ok \? "ok" : "blocked"/);
|
||||
assert.match(source, /status === "blocked" \? 503 : 200/);
|
||||
assert.doesNotMatch(source, /anyEnvCheck\(\["LLM_MODELS_JSON"|OPENAI_API_KEY|DEEPSEEK_API_KEY|LLM_API_KEY/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user