-
Notifications
You must be signed in to change notification settings - Fork 609
Description
Bug Description
Sending /start to the Telegram bot triggers an AttributeError in the terminal.
Error Message
[Telegram] Error handling message: 'GatewayConfig' object has no attribute 'get'
Traceback (most recent call last):
File "/root/.hermes/hermes-agent/gateway/platforms/base.py", line 700, in _process_message_background
response = await self._message_handler(event)
File "/root/.hermes/hermes-agent/gateway/run.py", line 887, in _handle_message
quick_commands = self.config.get("quick_commands", {})
AttributeError: 'GatewayConfig' object has no attribute 'get'
But work normally after sending first message to the Telegram bot, it's just on the /start
Environment
- OS: Ubuntu (Hetzner VPS)
- Install method: official install.sh script
Steps to Reproduce
- Set up Hermes with a Telegram bot via the setup wizard
- Open Telegram and send /start to the bot
- Error appears in the terminal
Expected Behavior
The bot should respond to /start normally.
Actual Behavior
[Telegram] Error handling message: 'GatewayConfig' object has no attribute 'get'
Traceback (most recent call last):
File "/root/.hermes/hermes-agent/gateway/platforms/base.py", line 700, in _process_message_background
response = await self._message_handler(event)
File "/root/.hermes/hermes-agent/gateway/run.py", line 887, in _handle_message
quick_commands = self.config.get("quick_commands", {})
AttributeError: 'GatewayConfig' object has no attribute 'get'
Affected Component
Tools (terminal, file ops, web, code execution, etc.)
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 24.04.4 LTS
Python Version
3.11.15
Hermes Version
1.0.0
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
- I'd like to fix this myself and submit a PR