We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17f9fca commit 6aed3daCopy full SHA for 6aed3da
jupyter_server_documents/rooms/yroom_events_api.py
@@ -47,6 +47,12 @@ def emit_room_event(
47
"path": path,
48
"action": action
49
}
50
+
51
+ # TODO: Jupyter AI requires the `msg` field to be set to 'Room
52
+ # initialized' on 'initialize' room events. Remove this when the
53
+ # Jupyter AI issue is fixed.
54
+ if action == "initialize":
55
+ event_data["msg"] = "Room initialized"
56
self._event_logger.emit(schema_id=JSD_ROOM_EVENT_URI, data=event_data)
57
except:
58
self.log.exception("Exception occurred when emitting a room event.")
0 commit comments