Logic invoked when the WebSocket connection is opened.
(self)
| 92 | print(f"(Sent ToolResponseMessage for tool_call_id {tool_call_id}: {weather})\n") |
| 93 | |
| 94 | async def on_open(self): |
| 95 | """Logic invoked when the WebSocket connection is opened.""" |
| 96 | print("WebSocket connection opened.") |
| 97 | |
| 98 | async def on_message(self, message: SubscribeEvent): |
| 99 | """Callback function to handle a WebSocket message event. |
nothing calls this directly
no outgoing calls
no test coverage detected