mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: content parts
This commit is contained in:
parent
c69358cd80
commit
37d1d04de6
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ export class ChatGLM4Client extends BaseClient {
|
||||||
onProgress(partialResponse)
|
onProgress(partialResponse)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let content = convoResponseEvent?.content[0]
|
let content = partialResponse?.content[0]
|
||||||
if (content.type === 'image' && content.status === 'finish') {
|
if (content.type === 'image' && content.status === 'finish') {
|
||||||
image = content.image[0].image_url
|
image = content.image[0].image_url
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue