feat: execute sql & generate chart with history

This commit is contained in:
ulleo
2025-06-04 14:19:05 +08:00
parent cc19a8430b
commit b06891e710
10 changed files with 286 additions and 549 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const _datasource = computed({
<template>
<div class="chat-row" :class="{'right-to-left': msg.role === 'user'}">
<el-avatar shape="square" v-if="msg.role === 'assistant'">SQBot</el-avatar>
<el-avatar shape="square" v-if="msg.role === 'assistant'">SQLBot</el-avatar>
<el-avatar shape="square" v-if="msg.role === 'user'"/>
<ChatBlock v-if="!msg.isWelcome" :msg="msg" :class="{'row-full': msg.role === 'assistant'}">
<slot></slot>