Files
Hermes-ui/packages/client/src/views/hermes/ChatView.vue
T

29 lines
575 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/hermes/chat/ChatPanel.vue'
import { useAppStore } from '@/stores/hermes/app'
import { useChatStore } from '@/stores/hermes/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: calc(100 * var(--vh));
2026-04-11 15:59:14 +08:00
display: flex;
flex-direction: column;
}
</style>