feat: workflow executor (#7159)

fix AFF-1221 AFF-1232
This commit is contained in:
darkskygit
2024-06-25 08:40:47 +00:00
parent 45b3b833d4
commit fe89ecb1d3
16 changed files with 573 additions and 201 deletions
@@ -22,7 +22,7 @@ import {
} from './resolver';
import { ChatSessionService } from './session';
import { CopilotStorage } from './storage';
import { CopilotWorkflowService } from './workflow';
import { CopilotWorkflowExecutors, CopilotWorkflowService } from './workflow';
registerCopilotProvider(FalProvider);
registerCopilotProvider(OpenAIProvider);
@@ -41,6 +41,7 @@ registerCopilotProvider(OpenAIProvider);
CopilotStorage,
PromptsManagementResolver,
CopilotWorkflowService,
...CopilotWorkflowExecutors,
],
controllers: [CopilotController],
contributesTo: ServerFeature.Copilot,