Bugfix/Update agentflow v2 events to redis subscriber (#4415)

update agentflow v2 events to redis subscriber
This commit is contained in:
Henry Heng
2025-05-11 18:43:28 +08:00
committed by GitHub
parent 0c3329b81b
commit 10f85ef47e
@@ -85,6 +85,15 @@ export class RedisEventSubscriber {
case 'nextAgent':
this.sseStreamer.streamNextAgentEvent(chatId, data)
break
case 'agentFlowEvent':
this.sseStreamer.streamAgentFlowEvent(chatId, data)
break
case 'agentFlowExecutedData':
this.sseStreamer.streamAgentFlowExecutedDataEvent(chatId, data)
break
case 'nextAgentFlow':
this.sseStreamer.streamNextAgentFlowEvent(chatId, data)
break
case 'action':
this.sseStreamer.streamActionEvent(chatId, data)
break