We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbb4b9 commit 3e0b260Copy full SHA for 3e0b260
service/src/chatgpt/index.ts
@@ -351,7 +351,7 @@ async function getMessageById(id: string): Promise<ChatMessage | undefined> {
351
? chatInfo.options.parentMessageId
352
: `prompt_${id}` // parent message is the prompt
353
354
- if (chatInfo.status != Status.Normal) { // jumps over deleted messages
+ if (chatInfo.status !== Status.Normal) { // jumps over deleted messages
355
return getMessageById(parentMessageId)
356
} else {
357
if (isPrompt) { // prompt
0 commit comments