mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
feat: migrate fal workflow to server (#7581)
This commit is contained in:
@@ -717,6 +717,8 @@ test.skip('should be able to preview workflow', async t => {
|
||||
console.log('enter node:', ret.node.name);
|
||||
} else if (ret.status === GraphExecutorState.ExitNode) {
|
||||
console.log('exit node:', ret.node.name);
|
||||
} else if (ret.status === GraphExecutorState.EmitAttachment) {
|
||||
console.log('stream attachment:', ret);
|
||||
} else {
|
||||
result += ret.content;
|
||||
// console.log('stream result:', ret);
|
||||
@@ -1020,9 +1022,9 @@ test('should be able to run image executor', async t => {
|
||||
ret,
|
||||
Array.from(['https://example.com/test.jpg', 'tag1, tag2, tag3, ']).map(
|
||||
t => ({
|
||||
content: t,
|
||||
attachment: t,
|
||||
nodeId: 'basic',
|
||||
type: NodeExecuteState.Content,
|
||||
type: NodeExecuteState.Attachment,
|
||||
})
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user