mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: first msg no content
This commit is contained in:
parent
37d1d04de6
commit
006abb3257
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ export class ChatGLM4Client extends BaseClient {
|
|||
}
|
||||
}
|
||||
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
|
||||
}
|
||||
if (convoResponseEvent.status === 'finish') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue