mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-15 04:12:25 +00:00
feat(msgraph): add webhook listener platform
This commit is contained in:
parent
f209a35859
commit
46a6f39024
5 changed files with 530 additions and 1 deletions
|
|
@ -4600,6 +4600,16 @@ class GatewayRunner:
|
|||
adapter.gateway_runner = self # For cross-platform delivery
|
||||
return adapter
|
||||
|
||||
elif platform == Platform.MSGRAPH_WEBHOOK:
|
||||
from gateway.platforms.msgraph_webhook import (
|
||||
MSGraphWebhookAdapter,
|
||||
check_msgraph_webhook_requirements,
|
||||
)
|
||||
if not check_msgraph_webhook_requirements():
|
||||
logger.warning("MSGraph webhook: aiohttp not installed")
|
||||
return None
|
||||
return MSGraphWebhookAdapter(config)
|
||||
|
||||
elif platform == Platform.BLUEBUBBLES:
|
||||
from gateway.platforms.bluebubbles import BlueBubblesAdapter, check_bluebubbles_requirements
|
||||
if not check_bluebubbles_requirements():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue