mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-23 17:05:28 +08:00
feat(telemetry): add isolated beta quality diagnostics and release identity
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from langbot.pkg.telemetry import diagnostics
|
||||
|
||||
import asyncio
|
||||
import contextlib
|
||||
import json
|
||||
@@ -162,6 +164,7 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
|
||||
def _uses_websocket(self) -> bool:
|
||||
return self.uses_websocket()
|
||||
|
||||
@diagnostics.observe('lifecycle', 'box.initialize', source='runtime', stage='execute')
|
||||
async def initialize(self) -> None:
|
||||
async with self._lifecycle_lock:
|
||||
if self._closing:
|
||||
|
||||
Reference in New Issue
Block a user