refactor: trim live model scan exports

This commit is contained in:
Peter Steinberger
2026-05-01 21:33:11 +01:00
parent ed8f50f240
commit 188ab3a5be
4 changed files with 5 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ type BaselineFindings = {
warnings: string[];
};
export type LiveCacheRegressionResult = {
type LiveCacheRegressionResult = {
regressions: string[];
summary: Record<string, Record<string, unknown>>;
warnings: string[];

View File

@@ -1,4 +1,4 @@
export type LiveSessionModelSelection = {
type LiveSessionModelSelection = {
provider: string;
model: string;
authProfileId?: string;

View File

@@ -18,7 +18,7 @@ export type EnvApiKeyResult = {
source: string;
};
export type EnvApiKeyLookupOptions = {
type EnvApiKeyLookupOptions = {
config?: OpenClawConfig;
workspaceDir?: string;
aliasMap?: Readonly<Record<string, string>>;

View File

@@ -52,7 +52,7 @@ type OpenRouterModelPricing = {
internalReasoning: number;
};
export type ProbeResult = {
type ProbeResult = {
ok: boolean;
latencyMs: number | null;
error?: string;
@@ -77,7 +77,7 @@ export type ModelScanResult = {
image: ProbeResult;
};
export type OpenRouterScanOptions = {
type OpenRouterScanOptions = {
apiKey?: string;
fetchImpl?: typeof fetch;
timeoutMs?: number;
@@ -507,6 +507,3 @@ export async function scanOpenRouterModels(
},
);
}
export { OPENROUTER_MODELS_URL };
export type { OpenRouterModelMeta, OpenRouterModelPricing };