Browse Source

change chat bug

master
godo 6 months ago
parent
commit
1795f09db9
  1. 2
      frontend/src/components/localchat/AiChatLeft.vue
  2. 2
      frontend/src/components/localchat/AiChatMain.vue

2
frontend/src/components/localchat/AiChatLeft.vue

@ -74,7 +74,7 @@ const chatStore = useAiChatStore();
.list-item { .list-item {
width: 95%; width: 95%;
height: 60px; height: 65px;
transition: all 0.5s; transition: all 0.5s;
margin: 0 auto; margin: 0 auto;
border-radius: 4px; border-radius: 4px;

2
frontend/src/components/localchat/AiChatMain.vue

@ -19,7 +19,7 @@ const userMessage = ref("");
const promptMessage = computed(() => { const promptMessage = computed(() => {
return [ return [
{ {
content: chatStore.chatInfo.prompt, content: chatStore.chatInfo.prompt || "",
chatType: "chat", chatType: "chat",
chatId: chatStore.activeId, chatId: chatStore.activeId,
role: "system", role: "system",

Loading…
Cancel
Save