chore: include pre-built dist for github install
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
import type { FallbackEntry } from "./model-requirements";
|
||||
export type ModelResolutionRequest = {
|
||||
intent?: {
|
||||
uiSelectedModel?: string;
|
||||
userModel?: string;
|
||||
categoryDefaultModel?: string;
|
||||
};
|
||||
constraints: {
|
||||
availableModels: Set<string>;
|
||||
};
|
||||
policy?: {
|
||||
fallbackChain?: FallbackEntry[];
|
||||
systemDefaultModel?: string;
|
||||
};
|
||||
};
|
||||
export type ModelResolutionProvenance = "override" | "category-default" | "provider-fallback" | "system-default";
|
||||
export type ModelResolutionResult = {
|
||||
model: string;
|
||||
provenance: ModelResolutionProvenance;
|
||||
variant?: string;
|
||||
attempted?: string[];
|
||||
reason?: string;
|
||||
};
|
||||
Reference in New Issue
Block a user