You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in _populateChatContent, EntryConversations only get saved if the llmResponse is defined:
constllmResponse=awaitconversation.getChatContent(configId,analysis.id,messageData.messages[0].message_content,conversation.messages);// If the chat is not empty, update the llm_responseif(llmResponse){// FIXME: this will drop chats that fail to get LLM responsemessageData.messages[0].llm_response=llmResponse;conversation.messages?.push(messageData.messages[0]);awaitconversation.save();}returnconversation;
The expected behavior should be that user messages should save even if llmResponse fails. Verify bug and fix.
The text was updated successfully, but these errors were encountered:
Currently, in
_populateChatContent
, EntryConversations only get saved if the llmResponse is defined:The expected behavior should be that user messages should save even if llmResponse fails. Verify bug and fix.
The text was updated successfully, but these errors were encountered: