feat: ditch triplit, move to postgresql + drizzle orm
This commit is contained in:
@@ -5,8 +5,8 @@ const props = defineProps<{
|
||||
params?: string;
|
||||
}>();
|
||||
|
||||
const { providers, allModels } = useModels();
|
||||
const { settings, updateSettings } = useUserSettings();
|
||||
const { providers, allModels } = await useModels();
|
||||
const { settings, updateSettings } = await useUserSettings();
|
||||
|
||||
const toggle = async (key: string) => {
|
||||
const current = (settings.value.systemAssistants as any)[key];
|
||||
@@ -39,7 +39,6 @@ const getModel = (id: string | null | undefined) => {
|
||||
}
|
||||
|
||||
defineEmits(['navigate']);
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user