feat: add workflow resolver (#7123)

fix AFF-1166
This commit is contained in:
darkskygit
2024-06-07 05:53:44 +00:00
parent 44b0ea2b6c
commit ca9a16b728
9 changed files with 203 additions and 78 deletions

View File

@@ -553,8 +553,8 @@ test.skip('should be able to preview workflow', async t => {
let result = '';
for await (const ret of workflow.runGraph(
'Create a presentation',
'apple company'
{ content: 'apple company' },
'workflow:presentation'
)) {
result += ret;
console.log('stream result:', ret);