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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -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