@@ -239,9 +238,9 @@ onUnmounted(() => {
:disabled="(!inputValue.content.trim() && files.length === 0) && !loading" :class="[
'h-8 w-8 rounded-xl transition-all duration-200 flex items-center justify-center disabled:cursor-not-allowed disabled:bg-transparent',
(inputValue.content.trim() || files.length > 0) && !loading
- ? 'bg-[var(--color-accent)] text-[var(--color-accent-text)] hover:bg-[var(--color-accent-hover)]'
+ ? 'bg-[var(--color-accent)] text-[var(--color-accent-text)] @hover:bg-[var(--color-accent-hover)]'
: 'text-[var(--text-dim)]',
- loading && 'bg-[var(--color-hover)] hover:bg-[var(--color-active)]',
+ loading && 'bg-[var(--color-hover)] @hover:bg-[var(--color-active)]',
]">
diff --git a/app/components/Dialog/QuickSwitcher.vue b/app/components/Dialog/QuickSwitcher.vue
index d8e617b..050ba1b 100644
--- a/app/components/Dialog/QuickSwitcher.vue
+++ b/app/components/Dialog/QuickSwitcher.vue
@@ -2,7 +2,7 @@
import { useAgents } from '~/composables/useAgents';
import RowVirtualizerFixed from '~/components/RowVirtualizerFixed.vue';
-const { agents } = useAgents();
+const { agents } = await useAgents();
const route = useRoute();
const emit = defineEmits(['close']);
@@ -134,7 +134,7 @@ onMounted(() => { inputRef.value?.focus(); });
@@ -148,7 +148,7 @@ onMounted(() => { inputRef.value?.focus(); });
diff --git a/app/components/Dialog/Settings.vue b/app/components/Dialog/Settings.vue
index df61418..035fb0f 100644
--- a/app/components/Dialog/Settings.vue
+++ b/app/components/Dialog/Settings.vue
@@ -6,7 +6,7 @@ import SystemAssistants from '~/components/Settings/SystemAssistants.vue';
import AppearanceSettings from '~/components/Settings/AppearanceSettings.vue';
import AIServiceProvider from '~/components/Settings/AIServiceProvider.vue';
-const { providers } = useModels();
+const { providers } = await useModels();
const PAGES_CONFIG = {
general: {
@@ -77,7 +77,7 @@ const runtimePage = computed(() => {
@navigate="(p: string, params?: string) => setOptions({ page: p, params })" :params="props.params" />