Spaces:
Running
Running
File size: 691 Bytes
a9fbc84 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | export interface ServerConfig {
accessKeysEnabled: boolean;
accessKeyTimeoutHours: number;
wllamaDefaultModelId: string;
internalApiEnabled: boolean;
internalApiName: string;
defaultInferenceType: string;
/** The CSRF token to hash into the `?token=` of every request to this server. */
searchToken: string;
}
/**
* Values used when the matching environment variable is unset. These mirror
* `.env.example` and are the single source of truth for both the server
* response and the client-side fallback.
*/
export const DEFAULT_WLLAMA_MODEL_ID = "littlelamb-290m";
export const DEFAULT_INFERENCE_TYPE = "browser";
export const DEFAULT_INTERNAL_API_NAME = "Internal API";
|