char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
77acca437
char/aliceai-t5-moe
1import type { PageLoad } from './$types' ; 2import { initStores } from '$lib/stores/init' ; 3import { validateApiKey } from '$lib/utils' ; 4 5export const load :PageLoad = async ({ fetch}) => { 6// loads run before the root layout script, so the stored API key reaches 7// the probe only once the settings store has read localStorage 8await initStores (); 9await validateApiKey ( fetch ); 10};