chore: include pre-built dist for github install
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import type { FallbackState, FallbackResult } from "./types";
|
||||
import type { RuntimeFallbackConfig } from "../../config";
|
||||
export declare function createFallbackState(originalModel: string): FallbackState;
|
||||
export declare function isModelInCooldown(model: string, state: FallbackState, cooldownSeconds: number): boolean;
|
||||
export declare function findNextAvailableFallback(state: FallbackState, fallbackModels: string[], cooldownSeconds: number): string | undefined;
|
||||
export declare function prepareFallback(sessionID: string, state: FallbackState, fallbackModels: string[], config: Required<RuntimeFallbackConfig>): FallbackResult;
|
||||
Reference in New Issue
Block a user