refactor: Move base_model resolution to occur before checkpoint formatting and remove a gen_params checkpoint assertion.

This commit is contained in:
Will Miao
2025-12-24 20:35:06 +08:00
parent a552f07448
commit 7b139b9b1d
2 changed files with 10 additions and 13 deletions

View File

@@ -394,7 +394,6 @@ async def test_import_remote_recipe(monkeypatch, tmp_path: Path) -> None:
assert metadata["checkpoint"]["modelVersionId"] == 33
assert metadata["loras"][0]["weight"] == 0.25
assert metadata["gen_params"]["prompt"] == "hello world"
assert metadata["gen_params"]["checkpoint"]["modelVersionId"] == 33
assert harness.downloader.urls == ["https://example.com/images/1"]