chore: bump version (#3041)

This commit is contained in:
Alex Yang
2023-07-06 11:49:17 +08:00
committed by GitHub
parent e95d28e136
commit fa1cd87348
44 changed files with 508 additions and 495 deletions

View File

@@ -131,9 +131,8 @@ const getFollowingUpAtoms = (
throw new Error('followupLLMChain not set');
}
const messages = await chatHistory.getMessages();
const aiMessage = messages.findLast(
message => message._getType() === 'ai'
)?.text;
const aiMessage = messages.findLast(message => message._getType() === 'ai')
?.text;
const humanMessage = messages.findLast(
message => message._getType() === 'human'
)?.text;