RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.61k stars 4.6k forks source link

[OSS-691] fix: Externally triggered intent fail with Telegram channel #13040

Open amitpdev opened 2 months ago

amitpdev commented 2 months ago

Set out_channel as static variable of TelegramInput class. This way, the same TelegramOutput channel instance initiated by Sanic is being used. This fixes "RuntimeError: asyncio.run() cannot be called from a running event loop" Error.

CLAassistant commented 2 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.