Skip to content

Commit

Permalink
fix: content parts
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Jan 17, 2024
1 parent c69358c commit 37d1d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ChatGLM4Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class ChatGLM4Client extends BaseClient {
onProgress(partialResponse)
}
}
let content = convoResponseEvent?.content[0]
let content = partialResponse?.content[0]
if (content.type === 'image' && content.status === 'finish') {
image = content.image[0].image_url
}
Expand Down

0 comments on commit 37d1d04

Please sign in to comment.