Rename product to Dabenying QA assistant
This commit is contained in:
@@ -34,7 +34,7 @@ onMounted(async () => {
|
||||
try {
|
||||
user.value = await api.profile();
|
||||
await loadSessions();
|
||||
statusText.value = "已连接知识库服务";
|
||||
statusText.value = "已连接大本营答疑服务";
|
||||
} catch {
|
||||
clearToken();
|
||||
statusText.value = "登录已失效";
|
||||
@@ -45,7 +45,7 @@ onMounted(async () => {
|
||||
|
||||
async function onLoggedIn(profile: UserProfile) {
|
||||
user.value = profile;
|
||||
statusText.value = "已连接知识库服务";
|
||||
statusText.value = "已连接大本营答疑服务";
|
||||
await loadSessions();
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ async function scrollToBottom() {
|
||||
<header class="topbar">
|
||||
<button type="button" class="icon-btn" @click="drawerOpen = true">☰</button>
|
||||
<div>
|
||||
<h1>AI知识库助手</h1>
|
||||
<h1>大本营答疑助手</h1>
|
||||
<p>{{ statusText }}</p>
|
||||
</div>
|
||||
<button type="button" class="plain-btn" @click="logout">退出</button>
|
||||
@@ -199,7 +199,7 @@ async function scrollToBottom() {
|
||||
<section class="chat-area">
|
||||
<div v-if="messages.length === 0" class="empty-state">
|
||||
<strong>可以开始提问了</strong>
|
||||
<p>当前已接入真实知识库检索链路,若外部服务未配置或权限不足,会在回复区提示具体原因。</p>
|
||||
<p>当前已接入大本营知识库检索链路,若外部服务未配置或权限不足,会在回复区提示具体原因。</p>
|
||||
</div>
|
||||
<ChatMessage
|
||||
v-for="message in messages"
|
||||
|
||||
Reference in New Issue
Block a user