feat: add voice transcription support with groq (fixes #13)

This commit is contained in:
Manus AI
2026-02-02 04:33:26 -05:00
parent eaf494ea31
commit 42f62c0c1a
8 changed files with 104 additions and 2 deletions

View File

@@ -36,6 +36,8 @@ class ChannelManager:
if self.config.channels.telegram.enabled:
try:
from nanobot.channels.telegram import TelegramChannel
# Inject parent config for access to providers
self.config.channels.telegram.parent = self.config
self.channels["telegram"] = TelegramChannel(
self.config.channels.telegram, self.bus
)
@@ -47,6 +49,8 @@ class ChannelManager:
if self.config.channels.whatsapp.enabled:
try:
from nanobot.channels.whatsapp import WhatsAppChannel
# Inject parent config for access to providers
self.config.channels.whatsapp.parent = self.config
self.channels["whatsapp"] = WhatsAppChannel(
self.config.channels.whatsapp, self.bus
)