mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump version (#3041)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user