Skip to content

Commit 3e0b260

Browse files
committed
operator fix
(cherry picked from commit f5ff675)
1 parent ffbb4b9 commit 3e0b260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/src/chatgpt/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ async function getMessageById(id: string): Promise<ChatMessage | undefined> {
351351
? chatInfo.options.parentMessageId
352352
: `prompt_${id}` // parent message is the prompt
353353

354-
if (chatInfo.status != Status.Normal) { // jumps over deleted messages
354+
if (chatInfo.status !== Status.Normal) { // jumps over deleted messages
355355
return getMessageById(parentMessageId)
356356
} else {
357357
if (isPrompt) { // prompt

0 commit comments

Comments
 (0)