Files
Hermes-ui/src/views/ChatView.vue
T

29 lines
538 B
Vue
Raw Normal View History

2026-04-11 15:59:14 +08:00
<script setup lang="ts">
import { onMounted } from 'vue'
import ChatPanel from '@/components/chat/ChatPanel.vue'
import { useAppStore } from '@/stores/app'
import { useChatStore } from '@/stores/chat'
2026-04-11 15:59:14 +08:00
const appStore = useAppStore()
const chatStore = useChatStore()
2026-04-11 15:59:14 +08:00
onMounted(() => {
appStore.loadModels()
chatStore.loadSessions()
2026-04-11 15:59:14 +08:00
})
</script>
<template>
<div class="chat-view">
<ChatPanel />
</div>
</template>
<style scoped lang="scss">
.chat-view {
height: 100vh;
display: flex;
flex-direction: column;
}
</style>