This commit is contained in:
2026-04-07 20:02:11 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ routerAdd("POST", "/pb-api-v1/chat/send", (c) => {
method: "POST",
body: JSON.stringify({
"message": userMsg,
"mode": "chat",
"mode": "chat", // chat: 对话模式query: 问答模式, agent: 代理模式
"sessionId": "8888"
}),
headers: {

View File

@@ -121,7 +121,7 @@
document.addEventListener('alpine:init', () => {
Alpine.data('weChat', () => ({
messages: [
{ role: 'ai', content: '您好!我是您的专属助理小。有什么可以帮到您?' }
{ role: 'ai', content: '您好!我是您的专属助理小。有什么可以帮到您?' }
],
inputMsg: '',
isTyping: false,