diff --git a/src/ml/imf/registry.ts b/src/ml/imf/registry.ts index 3f4972e..31e6863 100644 --- a/src/ml/imf/registry.ts +++ b/src/ml/imf/registry.ts @@ -16,7 +16,7 @@ import { load as loadYaml } from "js-yaml" export const DEFAULT_INDEX_URL = - "https://github.com/interscript/interscript-models/releases/download/index-v8/models-index.yaml" + "https://github.com/interscript/interscript-models/releases/download/index-v9/models-index.yaml" export interface Part { url: string diff --git a/test/client-work.test.ts b/test/client-work.test.ts index 758924f..4cb33f7 100644 --- a/test/client-work.test.ts +++ b/test/client-work.test.ts @@ -145,9 +145,9 @@ describe("CORS asset rewrite (13)", () => { it("rewrites canonical interscript-models release URLs too", () => { expect( corsAssetUrl( - "https://github.com/interscript/interscript-models/releases/download/index-v8/models-index.yaml", + "https://github.com/interscript/interscript-models/releases/download/index-v9/models-index.yaml", ), - ).toBe("https://api.interscript.org/v1/assets/index-v8/models-index.yaml") + ).toBe("https://api.interscript.org/v1/assets/index-v9/models-index.yaml") }) it("leaves other hosts and schemes untouched", () => { expect(corsAssetUrl("https://example.com/x.zip")).toBe("https://example.com/x.zip") diff --git a/test/imf.test.ts b/test/imf.test.ts index 164ba1e..477e99b 100644 --- a/test/imf.test.ts +++ b/test/imf.test.ts @@ -259,7 +259,7 @@ describe("registry", () => { it("DEFAULT_INDEX_URL pins a GitHub Release asset, never raw", async () => { const { DEFAULT_INDEX_URL } = await import("../src/ml/imf/registry.js") expect(DEFAULT_INDEX_URL).toMatch( - /^https:\/\/github\.com\/interscript\/interscript-models\/releases\/download\/index-v8\/models-index\.yaml$/, + /^https:\/\/github\.com\/interscript\/interscript-models\/releases\/download\/index-v9\/models-index\.yaml$/, ) expect(DEFAULT_INDEX_URL).not.toMatch(/raw\.githubusercontent/) }) @@ -389,7 +389,7 @@ describe("registry", () => { expect(typeof imf!["resolve"]).toBe("function") expect(typeof imf!["IMFModel"]).toBe("function") expect(imf!["DEFAULT_INDEX_URL"]).toMatch( - /github\.com\/interscript\/interscript-models\/releases\/download\/index-v8\/models-index\.yaml/, + /github\.com\/interscript\/interscript-models\/releases\/download\/index-v9\/models-index\.yaml/, ) }) })