debug: add startup print statements for plugin activation
This commit is contained in:
@@ -68,8 +68,10 @@ class AIAssistantPlugin(BasePlugin):
|
||||
|
||||
self._ai_handler = AIParticipantHandler(service_container)
|
||||
get_participant_registry().register("ai", self._ai_handler)
|
||||
print("[STARTUP] AI Assistant registered as participant 'ai'", flush=True)
|
||||
logger.info("AI Assistant registered as participant 'ai'")
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
print(f"[STARTUP] Failed to register AI Assistant as participant: {e}", flush=True)
|
||||
logger.exception("Failed to register AI Assistant as participant")
|
||||
|
||||
# Subscribe to message.received events
|
||||
|
||||
Reference in New Issue
Block a user