mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
@@ -335,7 +335,10 @@ export class CopilotController {
|
||||
concatMap(values => {
|
||||
session.push({
|
||||
role: 'assistant',
|
||||
content: values.join(''),
|
||||
content: values
|
||||
.filter(v => v.status === GraphExecutorState.EmitContent)
|
||||
.map(v => v.content)
|
||||
.join(''),
|
||||
createdAt: new Date(),
|
||||
});
|
||||
return from(session.save());
|
||||
|
||||
Reference in New Issue
Block a user