diff --git a/src/store/conversation.ts b/src/store/conversation.ts index 3d3c6eb7ac95fa4b1b11683715651361facd998f..c0aa626e8ee8ab97d1a0238f9af0fc3c3cfcc6ae 100644 --- a/src/store/conversation.ts +++ b/src/store/conversation.ts @@ -272,9 +272,9 @@ export const useSessionStore = defineStore('conversation', () => { } if('event' in message){ if(message["event"] === "text.add"){ - conversationItem.message[conversationItem.currentInd] += message.content; + // conversationItem.message[conversationItem.currentInd] += message.content; scrollBottom(); - // conversationItem.message[conversationItem.currentInd] += message.content.text; + conversationItem.message[conversationItem.currentInd] += message.content.text; } else if(message["event"] === "heartbeat") { // conversationItem.files = [...conversationItem.files, message.content]; diff --git a/src/views/api/index.vue b/src/views/api/index.vue index 757a8432b481509b9f841b8aae010aee64522c7a..db1f53e9debc88770a60d724e71bae5b7b151cb6 100644 --- a/src/views/api/index.vue +++ b/src/views/api/index.vue @@ -125,7 +125,7 @@ import { useAccountStore } from 'src/store'; import { storeToRefs } from 'pinia'; import * as jsYaml from 'js-yaml'; -const apiList = ref([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]); +const apiList = ref(); const drawer = ref(false); const direction = ref('rtl'); const actionName = ref('');