Skip to content

Commit 0abdebd

Browse files
committed
refactor: remove catalog test-only URL re-exports
1 parent 10564e2 commit 0abdebd

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎scripts/publish-model-catalog.mts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ import type {
2222
RemoteModelCatalogPricing,
2323
} from "../packages/model-catalog-core/src/remote-catalog-bundle.js";
2424
import { resolveRepoRoot } from "./lib/repo-root.mjs";
25-
export {
26-
LITELLM_PRICING_URL,
27-
OPENROUTER_MODELS_URL,
28-
} from "@openclaw/model-catalog-core/model-catalog-pricing";
2925

3026
type ModelCatalogManifestInput = {
3127
pluginId: string;

‎test/scripts/publish-model-catalog.test.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ import fs from "node:fs";
33
import os from "node:os";
44
import path from "node:path";
55
import type { RemoteModelCatalogBundle } from "@openclaw/model-catalog-core";
6+
import {
7+
LITELLM_PRICING_URL,
8+
OPENROUTER_MODELS_URL,
9+
} from "@openclaw/model-catalog-core/model-catalog-pricing";
610
import { afterEach, describe, expect, it, vi } from "vitest";
711
import {
812
assembleModelCatalogBundle,
913
enrichModelCatalogPricing,
10-
LITELLM_PRICING_URL,
1114
MODEL_CATALOG_MIN_MODELS,
12-
OPENROUTER_MODELS_URL,
1315
parsePublishModelCatalogArgs,
1416
readModelCatalogManifests,
1517
serializeModelCatalogBundle,

0 commit comments

Comments
 (0)