Training defaults to every model of the domain

This commit is contained in:
Roberto Treviño
2026-11-29 21:12:31 -06:00
parent 88b22b9491
commit 8a2ce3bbb4
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ def test_every_page_loads_from_the_api(api, platform, site):
drawn.replace("{hospital}", str(HOSPITAL))))) # fmt: skip
run(api, domain)
# A trained CaMa version, unpromoted: what the governance page shows and refuses.
wait_for(api, ok(api.post("/models/cama/train", json={"as_of": "2026-11-24"}))["run_id"])
body = {"as_of": "2026-11-24", "models": ["survival"]}
wait_for(api, ok(api.post("/models/cama/train", json=body))["run_id"])
put_concept_map(api, "erick_site")
ok(api.put("/ingest/pipelines/site", json=json.loads(site.drawn)))
run(api, "site")