|
@@ -656,7 +656,7 @@ const handleAI = async () => {
|
|
|
const item = aiImgData.value.list.find(i => i.url == aiImgData.value.src)
|
|
|
try {
|
|
|
// const res = await getAiByImage({imageUrl: imageUrl})
|
|
|
- chat('', item.params?.toString() + item.paramContent).then(async stream => {
|
|
|
+ chat('', item.params + item.paramContent).then(async stream => {
|
|
|
for await (const part of stream) {
|
|
|
// chatHistory.value.at(idx).text += part.message.content;
|
|
|
let tep_mesg = part.message.content;
|