You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
o.Description="Send a message to the agent. For messages of type 'user', the agent's status must be 'stable' for the operation to complete successfully. Otherwise, this endpoint will return an error."
272
272
})
273
273
@@ -282,7 +282,7 @@ func (s *Server) registerRoutes() {
282
282
// Mapping of event type name to Go struct for that event.
283
283
"message_update": types.MessageUpdateBody{},
284
284
"status_change": types.StatusChangeBody{},
285
-
}, s.InteractionHandler.SubscribeEvents)
285
+
}, s.AgentHandler.SubscribeEvents)
286
286
287
287
sse.Register(s.api, huma.Operation{
288
288
OperationID: "subscribeScreen",
@@ -292,7 +292,7 @@ func (s *Server) registerRoutes() {
0 commit comments