26 lines
433 B
Vue
26 lines
433 B
Vue
<script setup lang="ts">
|
|||
|
|
import { onMounted } from 'vue'
|
||
|
|
import ChatPanel from '@/components/chat/ChatPanel.vue'
|
||
|
|
import { useAppStore } from '@/stores/app'
|
||
|
|
|
||
|
|
const appStore = useAppStore()
|
||
|
|
|
||
|
|
onMounted(() => {
|
||
|
|
appStore.loadModels()
|
||
|
|
})
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<div class="chat-view">
|
||
|
|
<ChatPanel />
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<style scoped lang="scss">
|
||
|
|
.chat-view {
|
||
|
|
height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
</style>
|