feat: minor changes adapt to event emitting

This commit is contained in:
Junyan Qin
2025-07-01 22:44:46 +08:00
parent f474e42b79
commit c246470b37
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ class RuntimePipeline:
event_ctx_result = await self.ap.plugin_connector.handler.emit_event(event_ctx_data)
event_ctx.update(**event_ctx_result)
event_ctx = event_context.EventContext.parse_from_dict(event_ctx_result['event_context'])
if event_ctx.is_prevented_default():
return

View File

@@ -87,4 +87,4 @@ class RuntimeConnectionHandler(handler.Handler):
timeout=10,
)
return result['event_context']
return result