mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:40:43 +00:00
refactor: trim live model scan exports
This commit is contained in:
@@ -53,7 +53,7 @@ type BaselineFindings = {
|
||||
warnings: string[];
|
||||
};
|
||||
|
||||
export type LiveCacheRegressionResult = {
|
||||
type LiveCacheRegressionResult = {
|
||||
regressions: string[];
|
||||
summary: Record<string, Record<string, unknown>>;
|
||||
warnings: string[];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type LiveSessionModelSelection = {
|
||||
type LiveSessionModelSelection = {
|
||||
provider: string;
|
||||
model: string;
|
||||
authProfileId?: string;
|
||||
|
||||
@@ -18,7 +18,7 @@ export type EnvApiKeyResult = {
|
||||
source: string;
|
||||
};
|
||||
|
||||
export type EnvApiKeyLookupOptions = {
|
||||
type EnvApiKeyLookupOptions = {
|
||||
config?: OpenClawConfig;
|
||||
workspaceDir?: string;
|
||||
aliasMap?: Readonly<Record<string, string>>;
|
||||
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user