I appreciate the Sunday support straight from a svelte maintainer though ❤️
I appreciate the Sunday support straight from a svelte maintainer though ❤️
export const init: ClientInit = async () => {
await migrate(db, { journal, migrations });
Object.assign(settings, await getSettings());
};
And safely assume the settings will be set. It will be undefined in the llmClient
export const init: ClientInit = async () => {
await migrate(db, { journal, migrations });
Object.assign(settings, await getSettings());
};
And safely assume the settings will be set. It will be undefined in the llmClient
const dbSettings = await getSettingsFromDB();
export const settings = $state(settings);
export const llmClient = new LlmClient(settings)
const dbSettings = await getSettingsFromDB();
export const settings = $state(settings);
export const llmClient = new LlmClient(settings)