Files
timmy-config/wizards/allegro/home/logs/gateway.log
2026-04-01 01:00:10 +00:00

1847 lines
203 KiB
Plaintext

2026-03-29 22:53:43,451 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-29 22:53:43,592 INFO gateway.run: Starting Hermes Gateway...
2026-03-29 22:53:43,592 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-29 22:53:43,605 INFO gateway.run: Active profile: custom
2026-03-29 22:53:43,606 WARNING gateway.run: No user allowlists configured. All unauthorized users will be denied. Set GATEWAY_ALLOW_ALL_USERS=true in ~/.hermes/.env to allow open access, or configure platform allowlists (e.g., TELEGRAM_ALLOWED_USERS=your_id).
2026-03-29 22:53:43,680 INFO gateway.run: Connecting to api_server...
2026-03-29 22:53:43,684 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-29 22:53:43,684 INFO gateway.run: ✓ api_server connected
2026-03-29 22:53:43,685 INFO gateway.run: 1 hook(s) loaded
2026-03-29 22:53:43,686 INFO gateway.run: Gateway running with 1 platform(s)
2026-03-29 22:53:43,692 INFO gateway.run: Channel directory built: 0 target(s)
2026-03-29 22:53:43,692 INFO gateway.run: Press Ctrl+C to stop
2026-03-29 22:53:43,693 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-29 22:54:12,846 INFO aiohttp.access: 127.0.0.1 [29/Mar/2026:22:54:12 +0000] "GET /health HTTP/1.1" 200 266 "-" "curl/8.5.0"
2026-03-29 23:03:54,367 INFO gateway.run: Stopping gateway...
2026-03-29 23:03:54,371 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-29 23:03:54,372 INFO gateway.run: ✓ api_server disconnected
2026-03-29 23:03:54,373 INFO gateway.run: Gateway stopped
2026-03-29 23:03:54,374 INFO gateway.run: Cron ticker stopped
2026-03-29 23:03:56,845 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-29 23:03:56,892 INFO gateway.run: Starting Hermes Gateway...
2026-03-29 23:03:56,893 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-29 23:03:56,896 INFO gateway.run: Active profile: custom
2026-03-29 23:03:56,939 INFO gateway.run: Connecting to api_server...
2026-03-29 23:03:56,943 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-29 23:03:56,944 INFO gateway.run: ✓ api_server connected
2026-03-29 23:03:57,050 WARNING gateway.run: Telegram: python-telegram-bot not installed
2026-03-29 23:03:57,051 WARNING gateway.run: No adapter available for telegram
2026-03-29 23:03:57,052 INFO gateway.run: 1 hook(s) loaded
2026-03-29 23:03:57,053 INFO gateway.run: Gateway running with 1 platform(s)
2026-03-29 23:03:57,054 INFO gateway.run: Channel directory built: 0 target(s)
2026-03-29 23:03:57,054 INFO gateway.run: Press Ctrl+C to stop
2026-03-29 23:03:57,055 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-29 23:03:58,851 INFO aiohttp.access: 127.0.0.1 [29/Mar/2026:23:03:58 +0000] "GET /health HTTP/1.1" 200 266 "-" "curl/8.5.0"
2026-03-29 23:04:24,503 INFO gateway.run: Stopping gateway...
2026-03-29 23:04:24,506 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-29 23:04:24,506 INFO gateway.run: ✓ api_server disconnected
2026-03-29 23:04:24,508 INFO gateway.run: Gateway stopped
2026-03-29 23:04:24,508 INFO gateway.run: Cron ticker stopped
2026-03-29 23:04:27,100 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-29 23:04:27,145 INFO gateway.run: Starting Hermes Gateway...
2026-03-29 23:04:27,145 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-29 23:04:27,148 INFO gateway.run: Active profile: custom
2026-03-29 23:04:27,178 INFO gateway.run: Connecting to api_server...
2026-03-29 23:04:27,180 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-29 23:04:27,181 INFO gateway.run: ✓ api_server connected
2026-03-29 23:04:27,459 INFO gateway.run: Connecting to telegram...
2026-03-29 23:04:27,607 INFO httpx: HTTP Request: GET https://cloudflare-dns.com/dns-query?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-29 23:04:27,610 INFO httpx: HTTP Request: GET https://dns.google/resolve?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-29 23:04:27,612 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
2026-03-29 23:04:27,613 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
2026-03-29 23:04:27,614 WARNING gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
2026-03-29 23:04:28,047 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getMe "HTTP/1.1 200 OK"
2026-03-29 23:04:28,048 INFO telegram.ext.Application: Application started
2026-03-29 23:04:28,142 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/deleteWebhook "HTTP/1.1 200 OK"
2026-03-29 23:04:28,477 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/setMyCommands "HTTP/1.1 200 OK"
2026-03-29 23:04:28,479 INFO gateway.platforms.telegram: [Telegram] Connected and polling for Telegram updates
2026-03-29 23:04:28,479 INFO gateway.run: ✓ telegram connected
2026-03-29 23:04:28,480 INFO gateway.run: 1 hook(s) loaded
2026-03-29 23:04:28,481 INFO gateway.run: Gateway running with 2 platform(s)
2026-03-29 23:04:28,482 INFO gateway.run: Channel directory built: 0 target(s)
2026-03-29 23:04:28,483 INFO gateway.run: Press Ctrl+C to stop
2026-03-29 23:04:28,484 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-29 23:04:28,970 INFO aiohttp.access: 127.0.0.1 [29/Mar/2026:23:04:28 +0000] "GET /health HTTP/1.1" 200 266 "-" "curl/8.5.0"
2026-03-29 23:04:38,546 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:04:48,643 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:04:58,737 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:05:08,835 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:05:18,933 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:05:29,028 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:05:39,126 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:05:49,221 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:05:59,315 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:06:09,410 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:06:19,509 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:06:23,488 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:06:24,090 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (14 chars)
2026-03-29 23:06:24,130 INFO run_agent: Loaded environment variables from /root/wizards/allegro/home/.env
2026-03-29 23:06:34,500 INFO gateway.platforms.base: [Telegram] Sending response (63 chars) to 7635059073
2026-03-29 23:07:23,788 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (65 chars)
2026-03-29 23:07:37,934 INFO gateway.platforms.base: [Telegram] Sending response (657 chars) to 7635059073
2026-03-29 23:08:00,767 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (28 chars)
2026-03-29 23:08:16,120 INFO gateway.platforms.base: [Telegram] Sending response (88 chars) to 7635059073
2026-03-29 23:11:40,095 INFO gateway.run: Stopping gateway...
2026-03-29 23:11:40,098 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-29 23:11:40,099 INFO gateway.run: ✓ api_server disconnected
2026-03-29 23:11:40,360 INFO telegram.ext.Application: Application is stopping. This might take a moment.
2026-03-29 23:11:40,360 INFO telegram.ext.Application: Application.stop() complete
2026-03-29 23:11:40,363 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
2026-03-29 23:11:40,363 INFO gateway.run: ✓ telegram disconnected
2026-03-29 23:11:40,364 INFO gateway.run: Gateway stopped
2026-03-29 23:11:40,365 INFO gateway.run: Cron ticker stopped
2026-03-29 23:11:44,188 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-29 23:11:44,252 INFO gateway.run: Starting Hermes Gateway...
2026-03-29 23:11:44,252 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-29 23:11:44,255 INFO gateway.run: Active profile: custom
2026-03-29 23:11:44,306 INFO gateway.run: Connecting to api_server...
2026-03-29 23:11:44,309 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-29 23:11:44,310 INFO gateway.run: ✓ api_server connected
2026-03-29 23:11:44,532 INFO gateway.run: Connecting to telegram...
2026-03-29 23:11:44,622 INFO httpx: HTTP Request: GET https://cloudflare-dns.com/dns-query?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-29 23:11:44,631 INFO httpx: HTTP Request: GET https://dns.google/resolve?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-29 23:11:44,634 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
2026-03-29 23:11:44,634 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
2026-03-29 23:11:44,635 WARNING gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
2026-03-29 23:11:45,026 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getMe "HTTP/1.1 200 OK"
2026-03-29 23:11:45,027 INFO telegram.ext.Application: Application started
2026-03-29 23:11:45,113 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/deleteWebhook "HTTP/1.1 200 OK"
2026-03-29 23:11:45,435 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/setMyCommands "HTTP/1.1 200 OK"
2026-03-29 23:11:45,437 INFO gateway.platforms.telegram: [Telegram] Connected and polling for Telegram updates
2026-03-29 23:11:45,438 INFO gateway.run: ✓ telegram connected
2026-03-29 23:11:45,439 INFO gateway.run: 1 hook(s) loaded
2026-03-29 23:11:45,440 INFO gateway.run: Gateway running with 2 platform(s)
2026-03-29 23:11:45,442 INFO gateway.run: Channel directory built: 0 target(s)
2026-03-29 23:11:45,443 INFO gateway.run: Press Ctrl+C to stop
2026-03-29 23:11:45,444 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-29 23:11:46,125 INFO aiohttp.access: 127.0.0.1 [29/Mar/2026:23:11:46 +0000] "GET /health HTTP/1.1" 200 266 "-" "curl/8.5.0"
2026-03-29 23:11:55,477 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:12:05,571 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:12:15,663 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:12:25,753 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:12:35,844 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:12:45,936 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:12:56,026 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:13:06,117 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:13:16,208 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:13:24,542 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-29 23:13:25,146 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:group:-1003664764329:7635059073 (225 chars)
2026-03-29 23:13:25,178 INFO run_agent: Loaded environment variables from /root/wizards/allegro/home/.env
2026-03-29 23:13:35,906 INFO gateway.platforms.base: [Telegram] Sending response (458 chars) to -1003664764329
2026-03-29 23:14:27,816 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (25 chars)
2026-03-29 23:14:36,514 INFO gateway.platforms.base: [Telegram] Sending response (13 chars) to 7635059073
2026-03-29 23:14:47,268 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (29 chars)
2026-03-29 23:14:57,414 INFO gateway.platforms.base: [Telegram] Sending response (454 chars) to 7635059073
2026-03-29 23:29:02,786 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (60 chars)
2026-03-29 23:29:19,080 INFO gateway.platforms.base: [Telegram] Sending response (1322 chars) to 7635059073
2026-03-29 23:30:00,202 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (52 chars)
2026-03-29 23:30:37,686 INFO gateway.platforms.base: [Telegram] Sending response (921 chars) to 7635059073
2026-03-29 23:31:59,502 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (245 chars)
2026-03-29 23:32:15,766 INFO gateway.platforms.base: [Telegram] Sending response (1291 chars) to 7635059073
2026-03-29 23:37:51,707 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (123 chars)
2026-03-29 23:38:15,591 INFO gateway.platforms.base: [Telegram] Sending response (1698 chars) to 7635059073
2026-03-29 23:41:06,229 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (176 chars)
2026-03-29 23:41:42,008 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (339 chars)
2026-03-29 23:41:57,143 INFO gateway.platforms.base: [Telegram] Sending response (1211 chars) to 7635059073
2026-03-29 23:43:20,678 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (108 chars)
2026-03-29 23:50:55,492 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
2026-03-29 23:51:50,942 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
2026-03-29 23:55:08,244 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (891 chars)
2026-03-29 23:55:28,669 INFO gateway.platforms.base: [Telegram] Sending response (791 chars) to 7635059073
2026-03-29 23:55:31,430 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-29 23:55:48,209 INFO gateway.run: User approved dangerous command via /approve: rm -rf /root/strfry-build && mkdir /root/strfry-build && cd ...
2026-03-29 23:55:48,825 INFO gateway.platforms.base: [Telegram] Sending response (106 chars) to 7635059073
2026-03-29 23:59:13,935 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (50 chars)
2026-03-29 23:59:32,704 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (698 chars)
2026-03-30 00:04:44,619 INFO gateway.platforms.base: [Telegram] Sending response (793 chars) to 7635059073
2026-03-30 00:04:47,829 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 00:05:22,623 INFO gateway.platforms.telegram: [Telegram] Cached user photo at /root/wizards/allegro/home/cache/images/img_9553b8fd1f5b.jpg
2026-03-30 00:05:23,425 INFO gateway.platforms.telegram: [Telegram] Flushing photo batch agent:main:telegram:dm:7635059073:photo-burst with 1 image(s)
2026-03-30 00:05:23,529 ERROR tools.vision_tools: Error analyzing image: No LLM provider configured for task=vision provider=auto. Run: hermes setup
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/vision_tools.py", line 347, in vision_analyze_tool
response = await async_call_llm(**call_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/agent/auxiliary_client.py", line 1740, in async_call_llm
raise RuntimeError(
RuntimeError: No LLM provider configured for task=vision provider=auto. Run: hermes setup
2026-03-30 00:07:48,761 INFO gateway.platforms.base: [Telegram] Sending response (478 chars) to 7635059073
2026-03-30 00:08:52,416 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (117 chars)
2026-03-30 00:14:57,954 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
2026-03-30 00:33:27,854 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org path unreachable; using sticky fallback IP 149.154.167.220
2026-03-30 00:33:27,966 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
2026-03-30 00:33:28,042 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
2026-03-30 00:33:29,110 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (14 chars)
2026-03-30 00:33:41,394 INFO gateway.platforms.base: [Telegram] Sending response (731 chars) to 7635059073
2026-03-30 00:34:51,233 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (62 chars)
2026-03-30 00:39:05,462 WARNING root: Failed to fetch model metadata from OpenRouter: HTTPSConnectionPool(host='openrouter.ai', port=443): Max retries exceeded with url: /api/v1/models (Caused by NameResolutionError("HTTPSConnection(host='openrouter.ai', port=443): Failed to resolve 'openrouter.ai' ([Errno -3] Temporary failure in name resolution)"))
2026-03-30 00:48:50,252 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response.
2026-03-30 00:48:50,306 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.RemoteProtocolError: Server disconnected without sending a response.
2026-03-30 00:48:51,514 INFO gateway.platforms.base: [Telegram] Sending response (30 chars) to -1003664764329
2026-03-30 00:48:52,101 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:group:-1003664764329:7635059073 (183 chars)
2026-03-30 00:48:52,418 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (273 chars)
2026-03-30 00:48:55,540 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after network error (attempt 1)
2026-03-30 00:49:03,071 INFO gateway.platforms.base: [Telegram] Sending response (324 chars) to -1003664764329
2026-03-30 00:49:14,917 INFO gateway.platforms.base: [Telegram] Sending response (1462 chars) to 7635059073
2026-03-30 00:51:16,728 INFO gateway.run: User approved dangerous command via /approve: pkill -9 cc1plus; pkill -f "docker build"; docker kill $(doc...
2026-03-30 00:51:16,947 INFO gateway.platforms.base: [Telegram] Sending response (109 chars) to 7635059073
2026-03-30 00:52:36,281 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (81 chars)
2026-03-30 00:52:46,451 INFO gateway.platforms.base: [Telegram] Sending response (692 chars) to 7635059073
2026-03-30 00:53:55,186 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (133 chars)
2026-03-30 01:04:35,452 INFO gateway.platforms.base: [Telegram] Sending response (1323 chars) to 7635059073
2026-03-30 01:04:39,161 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 01:09:09,992 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (17 chars)
2026-03-30 01:09:58,455 INFO gateway.platforms.base: [Telegram] Sending response (1202 chars) to 7635059073
2026-03-30 01:10:02,637 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 01:10:18,473 INFO gateway.run: User approved dangerous command via /approve: # Install Caddy for easier SSL management
apt-get install -y...
2026-03-30 01:10:38,130 INFO gateway.platforms.base: [Telegram] Sending response (729 chars) to 7635059073
2026-03-30 01:11:55,175 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (125 chars)
2026-03-30 01:13:13,156 INFO gateway.run: Stopping gateway...
2026-03-30 01:13:13,166 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-30 01:13:13,167 INFO gateway.run: ✓ api_server disconnected
2026-03-30 01:13:13,260 INFO telegram.ext.Application: Application is stopping. This might take a moment.
2026-03-30 01:13:13,260 INFO telegram.ext.Application: Application.stop() complete
2026-03-30 01:13:13,264 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
2026-03-30 01:13:13,264 INFO gateway.run: ✓ telegram disconnected
2026-03-30 01:13:13,266 INFO gateway.run: Gateway stopped
2026-03-30 01:13:13,266 INFO gateway.run: Cron ticker stopped
2026-03-30 01:13:18,200 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-30 01:13:18,290 INFO gateway.run: Starting Hermes Gateway...
2026-03-30 01:13:18,291 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-30 01:13:18,295 INFO gateway.run: Active profile: custom
2026-03-30 01:13:18,351 INFO gateway.run: Connecting to api_server...
2026-03-30 01:13:18,355 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-30 01:13:18,356 INFO gateway.run: ✓ api_server connected
2026-03-30 01:13:18,762 INFO gateway.run: Connecting to telegram...
2026-03-30 01:13:18,920 INFO httpx: HTTP Request: GET https://dns.google/resolve?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-30 01:13:18,922 INFO httpx: HTTP Request: GET https://cloudflare-dns.com/dns-query?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-30 01:13:18,924 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
2026-03-30 01:13:18,925 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
2026-03-30 01:13:18,926 WARNING gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
2026-03-30 01:13:19,307 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getMe "HTTP/1.1 200 OK"
2026-03-30 01:13:19,308 INFO telegram.ext.Application: Application started
2026-03-30 01:13:19,390 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/deleteWebhook "HTTP/1.1 200 OK"
2026-03-30 01:13:19,844 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/setMyCommands "HTTP/1.1 200 OK"
2026-03-30 01:13:19,846 INFO gateway.platforms.telegram: [Telegram] Connected and polling for Telegram updates
2026-03-30 01:13:19,847 INFO gateway.run: ✓ telegram connected
2026-03-30 01:13:19,848 INFO gateway.run: 1 hook(s) loaded
2026-03-30 01:13:19,848 INFO gateway.run: Gateway running with 2 platform(s)
2026-03-30 01:13:19,851 INFO gateway.run: Channel directory built: 2 target(s)
2026-03-30 01:13:19,852 INFO gateway.run: Press Ctrl+C to stop
2026-03-30 01:13:19,852 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-30 01:13:20,881 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:13:20,895 INFO gateway.platforms.base: [Telegram] Sending response (219 chars) to 7635059073
2026-03-30 01:13:21,116 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/sendChatAction "HTTP/1.1 200 OK"
2026-03-30 01:13:21,120 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/sendMessage "HTTP/1.1 200 OK"
2026-03-30 01:13:31,167 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:13:41,261 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:13:51,352 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:14:01,447 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:14:01,780 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:14:01,787 INFO gateway.platforms.base: [Telegram] Sending response (23 chars) to 7635059073
2026-03-30 01:14:02,012 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/sendMessage "HTTP/1.1 200 OK"
2026-03-30 01:14:12,070 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:14:13,483 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-30 01:14:14,086 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (42 chars)
2026-03-30 01:14:14,735 INFO run_agent: Loaded environment variables from /root/wizards/allegro/home/.env
2026-03-30 01:14:33,598 INFO gateway.platforms.base: [Telegram] Sending response (1411 chars) to 7635059073
2026-03-30 01:17:09,782 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (277 chars)
2026-03-30 01:17:20,934 INFO gateway.platforms.base: [Telegram] Sending response (760 chars) to 7635059073
2026-03-30 01:21:13,293 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (244 chars)
2026-03-30 01:21:27,372 INFO gateway.platforms.base: [Telegram] Sending response (1104 chars) to 7635059073
2026-03-30 01:25:17,054 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (886 chars)
2026-03-30 01:25:51,140 INFO gateway.platforms.base: [Telegram] Sending response (1933 chars) to 7635059073
2026-03-30 01:30:39,393 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (178 chars)
2026-03-30 01:33:26,598 INFO gateway.platforms.base: [Telegram] Sending response (1169 chars) to 7635059073
2026-03-30 01:35:28,305 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (178 chars)
2026-03-30 01:39:23,742 INFO gateway.platforms.base: [Telegram] Sending response (1005 chars) to 7635059073
2026-03-30 01:39:26,993 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 01:40:16,768 INFO gateway.run: User approved dangerous command via /approve: curl -s "http://143.198.27.163:3000/api/v1/repos/Timmy_Found...
2026-03-30 01:40:17,187 INFO gateway.platforms.base: [Telegram] Sending response (218 chars) to 7635059073
2026-03-30 01:40:49,109 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (88 chars)
2026-03-30 01:51:21,416 INFO gateway.platforms.base: [Telegram] Sending response (1248 chars) to 7635059073
2026-03-30 01:51:25,111 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 01:52:02,983 INFO gateway.run: User approved dangerous command via /approve: cd /tmp && rm -rf timmy-home-clone && git clone http://alleg...
2026-03-30 01:52:04,010 INFO gateway.platforms.base: [Telegram] Sending response (121 chars) to 7635059073
2026-03-30 01:55:57,822 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (264 chars)
2026-03-30 02:02:07,790 INFO gateway.platforms.base: [Telegram] Sending response (2102 chars) to 7635059073
2026-03-30 02:05:34,527 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (331 chars)
2026-03-30 02:08:50,418 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (433 chars)
2026-03-30 02:09:21,851 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:group:-1003664764329:7635059073 (81 chars)
2026-03-30 02:09:32,078 INFO gateway.platforms.base: [Telegram] Sending response (115 chars) to -1003664764329
2026-03-30 02:15:41,515 INFO gateway.platforms.base: [Telegram] Sending response (1700 chars) to 7635059073
2026-03-30 02:19:53,328 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 02:21:35,338 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (111 chars)
2026-03-30 02:28:17,954 INFO gateway.run: Session split detected: 20260329_231427_e8a94387 → 20260330_022435_774ba3 (compression)
2026-03-30 02:28:17,997 INFO gateway.platforms.base: [Telegram] Sending response (2007 chars) to 7635059073
2026-03-30 02:28:21,165 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 02:51:40,162 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (236 chars)
2026-03-30 02:54:46,035 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (122 chars)
2026-03-30 03:01:16,170 INFO gateway.platforms.base: [Telegram] Sending response (1949 chars) to 7635059073
2026-03-30 03:01:20,354 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 03:03:33,087 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (127 chars)
2026-03-30 03:08:02,775 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (115 chars)
2026-03-30 03:12:31,826 INFO gateway.platforms.base: [Telegram] Sending response (1659 chars) to 7635059073
2026-03-30 03:12:36,529 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 12:02:31,033 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (72 chars)
2026-03-30 12:06:14,515 INFO gateway.platforms.base: [Telegram] Sending response (1877 chars) to 7635059073
2026-03-30 12:06:17,749 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 12:07:22,036 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (26 chars)
2026-03-30 12:07:45,919 INFO gateway.platforms.base: [Telegram] Sending response (1151 chars) to 7635059073
2026-03-30 12:08:17,393 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (100 chars)
2026-03-30 12:11:31,585 INFO gateway.platforms.base: [Telegram] Sending response (601 chars) to 7635059073
2026-03-30 12:13:17,504 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (163 chars)
2026-03-30 12:16:11,365 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (120 chars)
2026-03-30 12:18:49,252 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (62 chars)
2026-03-30 12:19:06,429 INFO gateway.platforms.base: [Telegram] Sending response (1101 chars) to 7635059073
2026-03-30 12:19:09,674 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 14:07:21,163 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (42 chars)
2026-03-30 14:10:22,405 INFO gateway.platforms.base: [Telegram] Sending response (1677 chars) to 7635059073
2026-03-30 14:32:21,418 INFO gateway.platforms.telegram: [Telegram] Cached user document at /root/wizards/allegro/home/cache/documents/doc_97caa2a7b05f_conv.txt
2026-03-30 14:33:22,516 INFO gateway.platforms.base: [Telegram] Sending response (1983 chars) to 7635059073
2026-03-30 14:33:23,045 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (129 chars)
2026-03-30 14:33:33,393 INFO gateway.platforms.base: [Telegram] Sending response (585 chars) to 7635059073
2026-03-30 14:34:09,650 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (45 chars)
2026-03-30 14:34:19,886 INFO gateway.platforms.base: [Telegram] Sending response (305 chars) to 7635059073
2026-03-30 14:34:35,234 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (75 chars)
2026-03-30 14:35:32,898 INFO gateway.platforms.telegram: [Telegram] Cached user audio at /root/wizards/allegro/home/cache/audio/audio_5d2853fe3762.mp3
2026-03-30 14:35:35,711 INFO gateway.platforms.base: [Telegram] Sending response (23 chars) to 7635059073
2026-03-30 14:35:58,771 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (50 chars)
2026-03-30 14:36:58,603 INFO gateway.platforms.base: [Telegram] Sending response (754 chars) to 7635059073
2026-03-30 14:37:03,319 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 14:38:30,938 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (111 chars)
2026-03-30 14:39:04,395 INFO gateway.platforms.base: [Telegram] Sending response (1193 chars) to 7635059073
2026-03-30 14:42:06,127 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (140 chars)
2026-03-30 14:42:16,344 INFO gateway.platforms.base: [Telegram] Sending response (475 chars) to 7635059073
2026-03-30 15:15:39,124 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (948 chars)
2026-03-30 15:23:36,252 INFO gateway.platforms.base: [Telegram] Sending response (1883 chars) to 7635059073
2026-03-30 15:23:41,488 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 15:34:59,740 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (165 chars)
2026-03-30 15:51:04,098 INFO gateway.run: Session split detected: 20260330_022435_774ba3 → 20260330_154423_6cc204 (compression)
2026-03-30 15:51:04,141 INFO gateway.platforms.base: [Telegram] Sending response (3844 chars) to 7635059073
2026-03-30 15:51:08,336 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 15:51:41,159 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (73 chars)
2026-03-30 16:00:14,113 INFO gateway.platforms.base: [Telegram] Sending response (4641 chars) to 7635059073
2026-03-30 16:00:17,853 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 16:04:07,079 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (292 chars)
2026-03-30 16:14:00,970 ERROR root: Non-retryable client error: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 16:14:01,127 INFO gateway.platforms.base: [Telegram] Sending response (187 chars) to 7635059073
2026-03-30 16:31:40,248 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (5 chars)
2026-03-30 16:32:07,740 INFO gateway.platforms.base: [Telegram] Sending response (781 chars) to 7635059073
2026-03-30 16:36:51,148 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (117 chars)
2026-03-30 16:41:44,083 INFO gateway.platforms.base: [Telegram] Sending response (2974 chars) to 7635059073
2026-03-30 16:43:03,414 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (36 chars)
2026-03-30 16:47:28,652 INFO gateway.platforms.base: [Telegram] Sending response (2379 chars) to 7635059073
2026-03-30 16:47:31,230 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 16:47:35,269 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 16:48:22,917 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (89 chars)
2026-03-30 16:48:26,276 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 16:58:07,509 INFO gateway.run: Session split detected: 20260330_154423_6cc204 → 20260330_164826_d84b81 (compression)
2026-03-30 16:58:07,556 INFO gateway.platforms.base: [Telegram] Sending response (2985 chars) to 7635059073
2026-03-30 16:58:11,286 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 17:00:12,758 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (117 chars)
2026-03-30 17:02:19,573 INFO gateway.platforms.base: [Telegram] Sending response (1040 chars) to 7635059073
2026-03-30 17:02:22,300 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 17:03:20,801 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (15 chars)
2026-03-30 17:03:30,997 INFO gateway.platforms.base: [Telegram] Sending response (898 chars) to 7635059073
2026-03-30 17:03:54,536 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (39 chars)
2026-03-30 17:04:52,987 INFO gateway.platforms.base: [Telegram] Sending response (978 chars) to 7635059073
2026-03-30 17:14:50,137 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (35 chars)
2026-03-30 17:15:36,210 INFO gateway.platforms.base: [Telegram] Sending response (535 chars) to 7635059073
2026-03-30 17:15:39,708 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 17:18:45,264 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (558 chars)
2026-03-30 17:19:46,064 INFO gateway.platforms.base: [Telegram] Sending response (766 chars) to 7635059073
2026-03-30 17:27:25,767 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (198 chars)
2026-03-30 17:28:47,094 INFO gateway.platforms.base: [Telegram] Sending response (1212 chars) to 7635059073
2026-03-30 17:28:50,296 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 17:28:56,566 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (209 chars)
2026-03-30 17:29:37,939 INFO gateway.platforms.base: [Telegram] Sending response (1116 chars) to 7635059073
2026-03-30 17:31:46,695 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (256 chars)
2026-03-30 17:32:26,194 INFO gateway.platforms.base: [Telegram] Sending response (1599 chars) to 7635059073
2026-03-30 17:33:12,930 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (139 chars)
2026-03-30 17:35:47,444 INFO gateway.platforms.base: [Telegram] Sending response (1849 chars) to 7635059073
2026-03-30 17:35:52,122 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 17:39:40,909 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (215 chars)
2026-03-30 17:40:47,086 INFO gateway.platforms.base: [Telegram] Sending response (1437 chars) to 7635059073
2026-03-30 17:41:24,375 INFO gateway.run: User approved dangerous command via /approve: cd /root/wizards/ezra/hermes-agent && export HERMES_HOME=/ro...
2026-03-30 17:41:27,603 INFO gateway.platforms.base: [Telegram] Sending response (443 chars) to 7635059073
2026-03-30 17:42:57,807 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (197 chars)
2026-03-30 17:45:37,166 INFO gateway.platforms.base: [Telegram] Sending response (1480 chars) to 7635059073
2026-03-30 17:45:40,856 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 17:47:25,955 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (211 chars)
2026-03-30 17:52:02,118 INFO gateway.platforms.base: [Telegram] Sending response (1927 chars) to 7635059073
2026-03-30 17:52:06,864 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 19:29:33,363 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (24740 chars)
2026-03-30 19:30:41,504 INFO gateway.platforms.base: [Telegram] Sending response (6882 chars) to 7635059073
2026-03-30 19:34:51,910 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (137 chars)
2026-03-30 19:35:31,409 INFO gateway.platforms.base: [Telegram] Sending response (5156 chars) to 7635059073
2026-03-30 19:37:07,789 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (42 chars)
2026-03-30 19:37:38,339 INFO gateway.platforms.base: [Telegram] Sending response (5011 chars) to 7635059073
2026-03-30 19:38:23,832 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (150 chars)
2026-03-30 19:38:47,236 INFO gateway.platforms.base: [Telegram] Sending response (2617 chars) to 7635059073
2026-03-30 19:38:52,482 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 19:39:39,609 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (50 chars)
2026-03-30 19:39:50,394 INFO gateway.platforms.base: [Telegram] Sending response (830 chars) to 7635059073
2026-03-30 19:41:04,262 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (92 chars)
2026-03-30 19:41:23,047 INFO gateway.platforms.base: [Telegram] Sending response (2207 chars) to 7635059073
2026-03-30 19:41:44,755 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (91 chars)
2026-03-30 19:45:41,158 INFO gateway.platforms.base: [Telegram] Sending response (1880 chars) to 7635059073
2026-03-30 19:45:45,005 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 19:45:48,049 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 20:09:59,801 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (27 chars)
2026-03-30 20:10:01,995 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 20:11:11,431 INFO gateway.run: Session split detected: 20260330_164826_d84b81 → 20260330_201002_1a60d0 (compression)
2026-03-30 20:11:11,453 INFO gateway.platforms.base: [Telegram] Sending response (1399 chars) to 7635059073
2026-03-30 20:16:13,350 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (48 chars)
2026-03-30 20:16:28,213 INFO gateway.platforms.base: [Telegram] Sending response (1192 chars) to 7635059073
2026-03-30 20:16:59,735 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (123 chars)
2026-03-30 20:17:21,131 INFO gateway.platforms.base: [Telegram] Sending response (1623 chars) to 7635059073
2026-03-30 20:18:19,569 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (198 chars)
2026-03-30 20:18:31,352 INFO gateway.platforms.base: [Telegram] Sending response (1552 chars) to 7635059073
2026-03-30 21:54:52,841 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (204 chars)
2026-03-30 21:56:08,690 INFO gateway.platforms.base: [Telegram] Sending response (13491 chars) to 7635059073
2026-03-30 21:58:31,143 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (53 chars)
2026-03-30 22:00:53,554 INFO gateway.platforms.base: [Telegram] Sending response (969 chars) to 7635059073
2026-03-30 22:00:56,293 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 22:12:06,684 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (13 chars)
2026-03-30 22:16:59,660 INFO gateway.platforms.base: [Telegram] Sending response (1411 chars) to 7635059073
2026-03-30 22:17:03,355 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 22:21:02,942 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (270 chars)
2026-03-30 22:23:10,294 INFO gateway.platforms.base: [Telegram] Sending response (2552 chars) to 7635059073
2026-03-30 22:23:36,229 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (15 chars)
2026-03-30 22:26:39,473 INFO gateway.platforms.base: [Telegram] Sending response (1867 chars) to 7635059073
2026-03-30 22:27:02,739 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (12 chars)
2026-03-30 22:28:17,442 INFO gateway.platforms.base: [Telegram] Sending response (2132 chars) to 7635059073
2026-03-30 22:28:21,723 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 22:29:42,520 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (89 chars)
2026-03-30 22:32:33,077 INFO gateway.platforms.base: [Telegram] Sending response (1738 chars) to 7635059073
2026-03-30 22:34:35,140 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (20 chars)
2026-03-30 22:35:25,257 INFO gateway.platforms.base: [Telegram] Sending response (301 chars) to 7635059073
2026-03-30 22:43:20,367 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (173 chars)
2026-03-30 22:47:12,448 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 22:47:20,577 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 22:49:15,957 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 22:52:03,670 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 22:55:02,167 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 23:01:55,557 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 23:07:49,232 ERROR gateway.platforms.telegram: [Telegram] Failed to edit Telegram message 280: Timed out
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
raise exc from None
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
response = await connection.handle_async_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request
return await self._connection.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request
raise exc
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request
) = await self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers
event = await self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 217, in _receive_event
data = await self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 32, in read
with map_exceptions(exc_map):
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
res = await self._client.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1540, in request
return await self.send(request, auth=*** follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1629, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1730, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/gateway/platforms/telegram_network.py", line 91, in handle_async_request
response = await transport.handle_async_request(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 393, in handle_async_request
with map_httpcore_exceptions():
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/gateway/platforms/telegram.py", line 809, in edit_message
effective_thread_id = None
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 1733, in edit_message_text
return await super().edit_message_text(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 4548, in edit_message_text
return await self._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 630, in _send_message
result = await super()._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 820, in _send_message
result = await self._post(
^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 704, in _post
return await self._do_post(
^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 370, in _do_post
return await super()._do_post(
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 733, in _do_post
result = await request.post(
^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 198, in post
result = await self._request_wrapper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
code, payload = await self.do_request(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request
raise TimedOut from err
telegram.error.TimedOut: Timed out
2026-03-30 23:07:54,475 WARNING gateway.platforms.telegram: [Telegram] Network error on send (attempt 1/3), retrying in 1s: Timed out
2026-03-30 23:08:00,753 WARNING gateway.platforms.telegram: [Telegram] Network error on send (attempt 2/3), retrying in 2s: Timed out
2026-03-30 23:08:07,938 ERROR gateway.platforms.telegram: [Telegram] Failed to send Telegram message: Timed out
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
raise exc from None
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
response = await connection.handle_async_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request
return await self._connection.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request
raise exc
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request
) = await self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers
event = await self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 217, in _receive_event
data = await self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 32, in read
with map_exceptions(exc_map):
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
res = await self._client.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1540, in request
return await self.send(request, auth=*** follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1629, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1730, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/gateway/platforms/telegram_network.py", line 91, in handle_async_request
response = await transport.handle_async_request(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 393, in handle_async_request
with map_httpcore_exceptions():
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/gateway/platforms/telegram.py", line 726, in send
self,
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 3118, in send_message
return await super().send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 1123, in send_message
return await self._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 630, in _send_message
result = await super()._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 820, in _send_message
result = await self._post(
^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 704, in _post
return await self._do_post(
^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 370, in _do_post
return await super()._do_post(
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 733, in _do_post
result = await request.post(
^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 198, in post
result = await self._request_wrapper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
code, payload = await self.do_request(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request
raise TimedOut from err
telegram.error.TimedOut: Timed out
2026-03-30 23:08:51,207 WARNING gateway.platforms.telegram: [Telegram] Network error on send (attempt 1/3), retrying in 1s: Timed out
2026-03-30 23:08:57,395 WARNING gateway.platforms.telegram: [Telegram] Network error on send (attempt 2/3), retrying in 2s: Timed out
2026-03-30 23:09:04,581 ERROR gateway.platforms.telegram: [Telegram] Failed to send Telegram message: Timed out
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
raise exc from None
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
response = await connection.handle_async_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request
return await self._connection.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request
raise exc
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request
) = await self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers
event = await self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 217, in _receive_event
data = await self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 32, in read
with map_exceptions(exc_map):
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
res = await self._client.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1540, in request
return await self.send(request, auth=*** follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1629, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1730, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/gateway/platforms/telegram_network.py", line 91, in handle_async_request
response = await transport.handle_async_request(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 393, in handle_async_request
with map_httpcore_exceptions():
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/gateway/platforms/telegram.py", line 726, in send
self,
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 3118, in send_message
return await super().send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 1123, in send_message
return await self._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 630, in _send_message
result = await super()._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 820, in _send_message
result = await self._post(
^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 704, in _post
return await self._do_post(
^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 370, in _do_post
return await super()._do_post(
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 733, in _do_post
result = await request.post(
^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 198, in post
result = await self._request_wrapper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
code, payload = await self.do_request(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/.venv/lib/python3.12/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request
raise TimedOut from err
telegram.error.TimedOut: Timed out
2026-03-30 23:09:57,332 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 23:11:04,982 INFO gateway.run: Session split detected: 20260330_201002_1a60d0 → 20260330_230957_dd23c6 (compression)
2026-03-30 23:11:05,033 INFO gateway.platforms.base: [Telegram] Sending response (5185 chars) to 7635059073
2026-03-30 23:11:05,554 WARNING gateway.platforms.base: [Telegram] Failed to send media (.md): File not found: /home/user/skills_system_analysis.md\nMEDIA:/home/user/skills_loading_flow_diagram.md\nMEDIA:/home/user/new_skill_recommendations.md
2026-03-30 23:11:07,712 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 23:13:45,144 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (43 chars)
2026-03-30 23:17:57,639 INFO gateway.platforms.base: [Telegram] Sending response (2845 chars) to 7635059073
2026-03-30 23:18:00,835 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 23:32:08,993 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (68 chars)
2026-03-30 23:35:16,680 INFO gateway.platforms.base: [Telegram] Sending response (8674 chars) to 7635059073
2026-03-30 23:38:49,326 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (46 chars)
2026-03-30 23:44:58,203 INFO gateway.platforms.base: [Telegram] Sending response (2987 chars) to 7635059073
2026-03-30 23:45:01,943 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 23:45:54,229 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (59 chars)
2026-03-30 23:51:49,803 INFO gateway.platforms.base: [Telegram] Sending response (3406 chars) to 7635059073
2026-03-30 23:51:54,503 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 23:52:46,273 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (38 chars)
2026-03-30 23:58:35,558 INFO gateway.platforms.base: [Telegram] Sending response (4120 chars) to 7635059073
2026-03-30 23:58:38,907 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-30 23:58:41,441 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-30 23:59:31,086 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (32 chars)
2026-03-30 23:59:33,607 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-31 00:09:37,823 INFO gateway.run: Session split detected: 20260330_230957_dd23c6 → 20260330_235933_0f504a (compression)
2026-03-31 00:09:37,868 INFO gateway.platforms.base: [Telegram] Sending response (2731 chars) to 7635059073
2026-03-31 00:09:42,060 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 00:12:21,535 INFO gateway.run: Image cache cleanup: removed 1 stale file(s)
2026-03-31 00:22:46,733 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (14 chars)
2026-03-31 00:40:55,125 INFO gateway.platforms.base: [Telegram] Sending response (3084 chars) to 7635059073
2026-03-31 00:40:57,825 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 00:42:20,816 INFO gateway.platforms.telegram: [Telegram] Cached user voice at /root/wizards/allegro/home/cache/audio/audio_335f72b9b1bf.ogg
2026-03-31 00:42:21,854 WARNING huggingface_hub.utils._http: Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
2026-03-31 00:42:24,541 INFO faster_whisper: Processing audio with duration 00:08.694
2026-03-31 00:42:27,502 INFO faster_whisper: Detected language 'en' with probability 0.98
2026-03-31 00:42:50,057 INFO gateway.platforms.base: [Telegram] Sending response (661 chars) to 7635059073
2026-03-31 00:43:52,911 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (79 chars)
2026-03-31 00:44:03,083 INFO gateway.platforms.base: [Telegram] Sending response (881 chars) to 7635059073
2026-03-31 00:44:35,029 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (62 chars)
2026-03-31 00:57:38,931 INFO gateway.platforms.base: [Telegram] Sending response (3424 chars) to 7635059073
2026-03-31 00:58:08,354 INFO gateway.run: User approved dangerous command via /approve: rm /root/wizards/allegro/hermes-agent/test_model_tools_optim...
2026-03-31 00:58:08,610 INFO gateway.platforms.base: [Telegram] Sending response (87 chars) to 7635059073
2026-03-31 00:59:07,630 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (147 chars)
2026-03-31 01:03:02,872 INFO gateway.platforms.base: [Telegram] Sending response (2476 chars) to 7635059073
2026-03-31 01:03:06,599 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 01:07:30,523 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (54 chars)
2026-03-31 01:11:51,970 INFO gateway.platforms.base: [Telegram] Sending response (2160 chars) to 7635059073
2026-03-31 01:14:22,947 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (365 chars)
2026-03-31 01:16:14,329 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (679 chars)
2026-03-31 01:16:24,656 INFO gateway.platforms.base: [Telegram] Sending response (420 chars) to 7635059073
2026-03-31 01:16:28,056 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 01:16:54,494 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (102 chars)
2026-03-31 01:18:06,273 INFO gateway.platforms.base: [Telegram] Sending response (2662 chars) to 7635059073
2026-03-31 01:23:11,098 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (33 chars)
2026-03-31 01:23:33,880 INFO gateway.platforms.base: [Telegram] Sending response (3398 chars) to 7635059073
2026-03-31 01:28:49,036 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (289 chars)
2026-03-31 01:31:34,850 INFO gateway.platforms.base: [Telegram] Sending response (3853 chars) to 7635059073
2026-03-31 01:33:42,148 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (149 chars)
2026-03-31 01:37:45,073 INFO gateway.platforms.base: [Telegram] Sending response (3479 chars) to 7635059073
2026-03-31 01:37:49,319 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 01:38:43,371 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (101 chars)
2026-03-31 01:43:33,673 INFO gateway.platforms.base: [Telegram] Sending response (3810 chars) to 7635059073
2026-03-31 01:46:57,537 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (140 chars)
2026-03-31 01:47:15,064 INFO gateway.platforms.base: [Telegram] Sending response (817 chars) to 7635059073
2026-03-31 01:48:37,724 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (255 chars)
2026-03-31 01:49:00,119 INFO gateway.platforms.base: [Telegram] Sending response (3059 chars) to 7635059073
2026-03-31 01:50:45,012 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (133 chars)
2026-03-31 01:50:58,632 INFO gateway.platforms.base: [Telegram] Sending response (1573 chars) to 7635059073
2026-03-31 01:52:03,716 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (93 chars)
2026-03-31 01:52:20,482 INFO gateway.platforms.base: [Telegram] Sending response (1664 chars) to 7635059073
2026-03-31 01:52:57,845 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 01:53:10,294 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (50 chars)
2026-03-31 01:53:22,067 INFO gateway.platforms.base: [Telegram] Sending response (948 chars) to 7635059073
2026-03-31 01:53:25,299 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 01:54:12,467 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (137 chars)
2026-03-31 01:54:28,733 INFO gateway.platforms.base: [Telegram] Sending response (1696 chars) to 7635059073
2026-03-31 01:56:23,576 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (317 chars)
2026-03-31 01:56:53,067 INFO gateway.platforms.base: [Telegram] Sending response (4185 chars) to 7635059073
2026-03-31 01:57:49,919 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (174 chars)
2026-03-31 01:58:19,656 INFO gateway.platforms.base: [Telegram] Sending response (3680 chars) to 7635059073
2026-03-31 01:59:50,193 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (176 chars)
2026-03-31 02:00:16,607 INFO gateway.platforms.base: [Telegram] Sending response (3980 chars) to 7635059073
2026-03-31 02:01:55,563 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (258 chars)
2026-03-31 02:02:14,683 INFO gateway.platforms.base: [Telegram] Sending response (2540 chars) to 7635059073
2026-03-31 02:03:02,730 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (85 chars)
2026-03-31 02:03:20,990 INFO gateway.platforms.base: [Telegram] Sending response (2537 chars) to 7635059073
2026-03-31 02:04:21,646 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (135 chars)
2026-03-31 02:04:24,287 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-31 02:04:51,009 INFO gateway.run: Session split detected: 20260330_235933_0f504a → 20260331_020424_c63031 (compression)
2026-03-31 02:04:51,040 INFO gateway.platforms.base: [Telegram] Sending response (3247 chars) to 7635059073
2026-03-31 02:05:19,236 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (148 chars)
2026-03-31 02:07:07,166 INFO gateway.platforms.base: [Telegram] Sending response (1416 chars) to 7635059073
2026-03-31 02:11:50,911 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (192 chars)
2026-03-31 02:14:28,791 INFO gateway.platforms.base: [Telegram] Sending response (1932 chars) to 7635059073
2026-03-31 02:14:31,984 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 02:16:17,161 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (164 chars)
2026-03-31 02:19:25,881 INFO gateway.platforms.base: [Telegram] Sending response (2131 chars) to 7635059073
2026-03-31 02:19:29,270 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 02:20:26,419 INFO gateway.platforms.telegram: [Telegram] Cached user photo at /root/wizards/allegro/home/cache/images/img_0a206005d8b4.jpg
2026-03-31 02:20:27,035 INFO gateway.platforms.telegram: [Telegram] Cached user photo at /root/wizards/allegro/home/cache/images/img_79125c20e2d7.jpg
2026-03-31 02:20:27,942 ERROR tools.vision_tools: Error analyzing image: No LLM provider configured for task=vision provider=auto. Run: hermes setup
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/vision_tools.py", line 347, in vision_analyze_tool
"Invalid image source. Provide an HTTP/HTTPS URL or a valid local file path."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/agent/auxiliary_client.py", line 1740, in async_call_llm
api_key: str = None,
^^^^^^^^^^^^
RuntimeError: No LLM provider configured for task=vision provider=auto. Run: hermes setup
2026-03-31 02:20:28,039 ERROR tools.vision_tools: Error analyzing image: No LLM provider configured for task=vision provider=auto. Run: hermes setup
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/vision_tools.py", line 347, in vision_analyze_tool
"Invalid image source. Provide an HTTP/HTTPS URL or a valid local file path."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/agent/auxiliary_client.py", line 1740, in async_call_llm
api_key: str = None,
^^^^^^^^^^^^
RuntimeError: No LLM provider configured for task=vision provider=auto. Run: hermes setup
2026-03-31 02:21:21,342 INFO gateway.platforms.base: [Telegram] Sending response (942 chars) to 7635059073
2026-03-31 02:21:24,595 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 02:21:27,398 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (147 chars)
2026-03-31 02:22:27,752 INFO gateway.platforms.base: [Telegram] Sending response (881 chars) to 7635059073
2026-03-31 02:25:18,427 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (224 chars)
2026-03-31 02:26:07,367 INFO gateway.platforms.base: [Telegram] Sending response (1172 chars) to 7635059073
2026-03-31 02:28:01,758 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (98 chars)
2026-03-31 02:31:16,911 INFO gateway.platforms.base: [Telegram] Sending response (1538 chars) to 7635059073
2026-03-31 02:31:20,113 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 02:35:29,410 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (41 chars)
2026-03-31 02:36:25,168 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-31 02:37:54,696 INFO gateway.platforms.base: [Telegram] Sending response (1843 chars) to 7635059073
2026-03-31 02:47:16,777 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (370 chars)
2026-03-31 02:48:34,879 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (192 chars)
2026-03-31 02:49:11,817 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (853 chars)
2026-03-31 02:51:24,479 INFO gateway.platforms.base: [Telegram] Sending response (1222 chars) to 7635059073
2026-03-31 02:56:16,302 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (536 chars)
2026-03-31 03:01:51,133 INFO gateway.platforms.base: [Telegram] Sending response (1823 chars) to 7635059073
2026-03-31 03:01:56,415 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 03:05:38,324 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (148 chars)
2026-03-31 03:08:54,503 INFO gateway.platforms.base: [Telegram] Sending response (1419 chars) to 7635059073
2026-03-31 03:11:02,541 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (392 chars)
2026-03-31 03:15:00,289 INFO gateway.platforms.base: [Telegram] Sending response (2603 chars) to 7635059073
2026-03-31 03:15:05,063 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 03:19:14,744 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (238 chars)
2026-03-31 03:24:19,955 INFO gateway.platforms.base: [Telegram] Sending response (2448 chars) to 7635059073
2026-03-31 03:24:24,205 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 03:25:18,924 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-31 03:31:04,273 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (37 chars)
2026-03-31 03:31:17,867 INFO gateway.platforms.base: [Telegram] Sending response (740 chars) to 7635059073
2026-03-31 03:36:44,775 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (39 chars)
2026-03-31 03:36:55,305 INFO gateway.platforms.base: [Telegram] Sending response (32 chars) to 7635059073
2026-03-31 03:46:02,267 INFO gateway.platforms.telegram: [Telegram] Cached user document at /root/wizards/allegro/home/cache/documents/doc_37986de4e858_ALLEGRO-BIRTH-CERTIFICATE.md
2026-03-31 03:46:02,365 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (18 chars)
2026-03-31 03:47:23,533 INFO gateway.platforms.base: [Telegram] Sending response (1446 chars) to 7635059073
2026-03-31 03:49:40,023 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (289 chars)
2026-03-31 03:50:34,440 INFO gateway.platforms.base: [Telegram] Sending response (2359 chars) to 7635059073
2026-03-31 03:51:06,617 INFO gateway.run: User approved dangerous command via /approve: cd /root/wizards/allegro/hermes-agent && source .venv/bin/ac...
2026-03-31 03:51:06,870 INFO gateway.platforms.base: [Telegram] Sending response (290 chars) to 7635059073
2026-03-31 03:51:57,112 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (204 chars)
2026-03-31 03:52:51,117 INFO gateway.platforms.base: [Telegram] Sending response (1785 chars) to 7635059073
2026-03-31 03:56:52,766 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (84 chars)
2026-03-31 03:59:34,863 INFO gateway.platforms.base: [Telegram] Sending response (2292 chars) to 7635059073
2026-03-31 03:59:40,099 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 04:03:09,230 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-31 04:06:41,547 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (215 chars)
2026-03-31 04:08:24,559 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (369 chars)
2026-03-31 04:11:52,337 WARNING root: Failed to generate context summary: Error code: 401 - {'error': {'message': 'The API Key appears to be invalid or may have expired. Please verify your credentials and try again.', 'type': 'invalid_authentication_error'}}
2026-03-31 04:16:20,048 INFO gateway.run: Session split detected: 20260331_020424_c63031 → 20260331_041152_1127c8 (compression)
2026-03-31 04:16:20,093 INFO gateway.platforms.base: [Telegram] Sending response (2534 chars) to 7635059073
2026-03-31 04:16:23,790 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 04:17:18,023 INFO gateway.run: User approved dangerous command via /approve: ssh -o StrictHostKeyChecking=no root@143.198.27.163 "cat > /...
2026-03-31 04:17:18,289 INFO gateway.platforms.base: [Telegram] Sending response (139 chars) to 7635059073
2026-03-31 04:19:23,845 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (383 chars)
2026-03-31 04:45:28,612 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (28 chars)
2026-03-31 04:45:39,075 INFO gateway.platforms.base: [Telegram] Sending response (1390 chars) to 7635059073
2026-03-31 04:55:15,570 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 06:09:51,468 INFO gateway.run: Stopping gateway...
2026-03-31 06:09:51,862 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-31 06:09:51,936 INFO gateway.run: ✓ api_server disconnected
2026-03-31 06:09:52,102 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed ([Errno -3] Temporary failure in name resolution); trying fallback IPs 149.154.167.220
2026-03-31 06:09:52,597 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org path unreachable; using sticky fallback IP 149.154.167.220
2026-03-31 06:09:52,636 INFO telegram.ext.Application: Application is stopping. This might take a moment.
2026-03-31 06:09:52,652 INFO telegram.ext.Application: Application.stop() complete
2026-03-31 06:09:52,812 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
2026-03-31 06:09:52,813 INFO gateway.run: ✓ telegram disconnected
2026-03-31 06:09:52,855 INFO gateway.run: Gateway stopped
2026-03-31 06:10:09,315 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-31 06:10:09,637 INFO gateway.run: Starting Hermes Gateway...
2026-03-31 06:10:09,639 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-31 06:10:09,674 INFO gateway.run: Active profile: custom
2026-03-31 06:10:09,856 WARNING gateway.platforms.api_server: API_SERVER_KEY not configured. All requests will be rejected. Set API_SERVER_ALLOW_UNAUTHENTICATED=*** for local-only use, or configure API_SERVER_KEY for production.
2026-03-31 06:10:09,863 INFO gateway.run: Connecting to api_server...
2026-03-31 06:10:09,875 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-31 06:10:09,877 INFO gateway.run: ✓ api_server connected
2026-03-31 06:10:11,028 INFO gateway.run: Connecting to telegram...
2026-03-31 06:10:11,473 INFO httpx: HTTP Request: GET https://cloudflare-dns.com/dns-query?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-31 06:10:11,477 INFO httpx: HTTP Request: GET https://dns.google/resolve?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-31 06:10:11,481 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
2026-03-31 06:10:11,483 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
2026-03-31 06:10:11,485 WARNING gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
2026-03-31 06:10:12,116 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getMe "HTTP/1.1 200 OK"
2026-03-31 06:10:12,120 INFO telegram.ext.Application: Application started
2026-03-31 06:10:12,219 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/deleteWebhook "HTTP/1.1 200 OK"
2026-03-31 06:10:12,879 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/setMyCommands "HTTP/1.1 200 OK"
2026-03-31 06:10:12,885 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode)
2026-03-31 06:10:12,887 INFO gateway.run: ✓ telegram connected
2026-03-31 06:10:12,890 INFO gateway.run: 1 hook(s) loaded
2026-03-31 06:10:12,893 INFO gateway.run: Gateway running with 2 platform(s)
2026-03-31 06:10:12,909 INFO gateway.run: Channel directory built: 2 target(s)
2026-03-31 06:10:12,911 INFO gateway.run: Press Ctrl+C to stop
2026-03-31 06:10:12,915 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-31 06:10:22,968 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:10:33,070 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:10:43,203 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:10:53,307 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:11:03,408 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:11:13,509 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:11:23,607 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:11:33,706 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:11:43,806 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:11:53,907 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:12:04,008 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:12:14,117 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:12:24,217 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:12:34,320 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:12:44,417 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:12:54,519 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:13:04,617 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:13:06,888 INFO gateway.run: Stopping gateway...
2026-03-31 06:13:06,900 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-31 06:13:06,900 INFO gateway.run: ✓ api_server disconnected
2026-03-31 06:13:10,195 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:13:10,197 INFO telegram.ext.Application: Application is stopping. This might take a moment.
2026-03-31 06:13:10,197 INFO telegram.ext.Application: Application.stop() complete
2026-03-31 06:13:10,200 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
2026-03-31 06:13:10,200 INFO gateway.run: ✓ telegram disconnected
2026-03-31 06:13:10,201 INFO gateway.run: Gateway stopped
2026-03-31 06:13:10,202 INFO gateway.run: Cron ticker stopped
2026-03-31 06:13:15,686 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-31 06:13:15,853 INFO gateway.run: Starting Hermes Gateway...
2026-03-31 06:13:15,853 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-31 06:13:15,861 INFO gateway.run: Active profile: custom
2026-03-31 06:13:16,107 WARNING gateway.platforms.api_server: API_SERVER_KEY not configured. All requests will be rejected. Set API_SERVER_ALLOW_UNAUTHENTICATED=*** for local-only use, or configure API_SERVER_KEY for production.
2026-03-31 06:13:16,111 INFO gateway.run: Connecting to api_server...
2026-03-31 06:13:16,117 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-31 06:13:16,119 INFO gateway.run: ✓ api_server connected
2026-03-31 06:13:16,523 INFO gateway.run: Connecting to telegram...
2026-03-31 06:13:16,737 INFO httpx: HTTP Request: GET https://cloudflare-dns.com/dns-query?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-31 06:13:16,740 INFO httpx: HTTP Request: GET https://dns.google/resolve?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-31 06:13:16,742 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
2026-03-31 06:13:16,743 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
2026-03-31 06:13:16,743 WARNING gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
2026-03-31 06:13:17,146 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getMe "HTTP/1.1 200 OK"
2026-03-31 06:13:17,150 INFO telegram.ext.Application: Application started
2026-03-31 06:13:17,234 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/deleteWebhook "HTTP/1.1 200 OK"
2026-03-31 06:13:17,771 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/setMyCommands "HTTP/1.1 200 OK"
2026-03-31 06:13:17,775 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode)
2026-03-31 06:13:17,777 INFO gateway.run: ✓ telegram connected
2026-03-31 06:13:17,779 INFO gateway.run: 1 hook(s) loaded
2026-03-31 06:13:17,781 INFO gateway.run: Gateway running with 2 platform(s)
2026-03-31 06:13:17,786 INFO gateway.run: Channel directory built: 2 target(s)
2026-03-31 06:13:17,788 INFO gateway.run: Press Ctrl+C to stop
2026-03-31 06:13:17,792 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-31 06:13:27,830 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:13:37,920 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:13:48,012 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:13:58,103 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:14:08,191 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:14:18,294 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:14:28,383 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:14:38,473 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:14:48,561 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:14:58,653 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:15:08,741 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:15:18,832 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:15:28,915 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:15:39,001 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:15:49,096 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:15:59,183 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:16:09,269 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:16:19,352 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:16:29,439 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:16:39,526 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:16:49,611 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:16:59,698 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:17:09,783 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 06:17:18,036 INFO run_agent: Loaded environment variables from /root/wizards/allegro/home/.env
2026-03-31 06:17:18,425 WARNING cron.scheduler: Cron job 'continuous-burn-loop': skill not found, skipping — Skill 'github' not found.
2026-03-31 06:17:18,454 INFO cron.scheduler: Running job 'continuous-burn-loop' (ID: 925c78f89f49)
2026-03-31 06:17:18,454 INFO cron.scheduler: Prompt: [SYSTEM: The following skill(s) were listed for this job but could not be found and were skipped: gi
2026-03-31 06:18:15,150 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 06:18:38,303 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 06:37:08,980 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 06:53:43,399 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 07:30:53,094 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 07:46:29,394 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 08:05:18,707 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 08:21:18,272 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 08:45:16,514 INFO agent.auxiliary_client: Auxiliary auto-detect: using api-key (kimi-k2-turbo-preview) — skipped: openrouter, nous, local/custom, openai-codex
2026-03-31 08:45:16,524 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 09:17:46,894 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 09:22:02,645 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 10:12:53,243 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 11:24:15,362 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:group:-1003664764329:7635059073 (94 chars)
2026-03-31 11:24:25,566 INFO gateway.platforms.base: [Telegram] Sending response (144 chars) to -1003664764329
2026-03-31 11:25:09,121 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (38 chars)
2026-03-31 11:25:23,434 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 11:26:47,232 INFO gateway.platforms.base: [Telegram] Sending response (1615 chars) to 7635059073
2026-03-31 11:38:57,370 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (75 chars)
2026-03-31 11:39:57,877 INFO gateway.platforms.base: [Telegram] Sending response (2351 chars) to 7635059073
2026-03-31 11:40:28,579 INFO gateway.run: User approved dangerous command via /approve: cd hermes-agent && python3 -c "from tools.shield import dete...
2026-03-31 11:40:30,040 INFO gateway.platforms.base: [Telegram] Sending response (481 chars) to 7635059073
2026-03-31 11:41:16,394 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (173 chars)
2026-03-31 11:42:34,754 INFO gateway.platforms.base: [Telegram] Sending response (2208 chars) to 7635059073
2026-03-31 11:42:37,423 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 11:43:38,606 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (171 chars)
2026-03-31 11:44:41,788 INFO gateway.platforms.base: [Telegram] Sending response (2300 chars) to 7635059073
2026-03-31 11:46:11,485 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (120 chars)
2026-03-31 11:49:58,516 INFO gateway.platforms.base: [Telegram] Sending response (2134 chars) to 7635059073
2026-03-31 11:50:01,196 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 11:51:02,720 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (115 chars)
2026-03-31 11:53:47,798 INFO gateway.platforms.base: [Telegram] Sending response (2537 chars) to 7635059073
2026-03-31 11:55:27,179 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (156 chars)
2026-03-31 11:59:36,120 INFO gateway.platforms.base: [Telegram] Sending response (2351 chars) to 7635059073
2026-03-31 11:59:40,353 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 12:03:08,335 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (164 chars)
2026-03-31 12:04:31,297 INFO gateway.platforms.base: [Telegram] Sending response (3048 chars) to 7635059073
2026-03-31 12:07:10,802 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (72 chars)
2026-03-31 12:12:30,568 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 12:13:30,896 INFO gateway.platforms.base: [Telegram] Sending response (2207 chars) to 7635059073
2026-03-31 12:13:34,113 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 12:18:00,545 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (20 chars)
2026-03-31 12:19:18,361 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 12:29:15,412 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 12:30:08,172 INFO gateway.platforms.base: [Telegram] Sending response (2267 chars) to 7635059073
2026-03-31 12:30:12,928 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 12:31:02,753 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (121 chars)
2026-03-31 12:38:42,768 INFO agent.auxiliary_client: Auxiliary flush_memories: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 12:40:04,097 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 12:41:49,706 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 12:42:12,258 INFO gateway.run: Session split detected: 20260331_041152_1127c8 → 20260331_124138_68f306 (compression)
2026-03-31 12:42:12,286 INFO gateway.platforms.base: [Telegram] Sending response (3508 chars) to 7635059073
2026-03-31 12:44:14,476 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (161 chars)
2026-03-31 12:52:18,874 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 12:54:48,135 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 12:54:48,196 INFO gateway.platforms.base: [Telegram] Sending response (2619 chars) to 7635059073
2026-03-31 12:54:51,894 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 12:57:22,773 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (206 chars)
2026-03-31 12:58:31,311 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 12:59:46,562 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 13:00:22,813 INFO gateway.platforms.base: [Telegram] Sending response (1596 chars) to 7635059073
2026-03-31 13:01:06,409 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 13:01:12,733 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (71 chars)
2026-03-31 13:03:04,348 INFO gateway.platforms.base: [Telegram] Sending response (1258 chars) to 7635059073
2026-03-31 13:03:08,061 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 13:08:17,805 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (47 chars)
2026-03-31 13:17:41,664 INFO gateway.platforms.base: [Telegram] Sending response (3665 chars) to 7635059073
2026-03-31 13:17:45,316 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 13:55:24,940 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 13:56:42,208 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 14:12:24,129 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 14:40:17,339 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (65 chars)
2026-03-31 14:44:17,473 INFO gateway.platforms.base: [Telegram] Sending response (2542 chars) to 7635059073
2026-03-31 14:56:54,912 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 15:16:58,910 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (35 chars)
2026-03-31 15:25:29,453 INFO gateway.platforms.base: [Telegram] Sending response (1838 chars) to 7635059073
2026-03-31 15:25:29,647 INFO agent.auxiliary_client: Auxiliary flush_memories: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 15:26:50,329 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2-turbo-preview) at https://api.kimi.com/coding/v1/
2026-03-31 15:28:50,300 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 15:39:05,203 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 15:49:02,475 INFO gateway.run: Document cache cleanup: removed 1 stale file(s)
2026-03-31 15:57:58,467 INFO gateway.run: Stopping gateway...
2026-03-31 15:57:58,472 INFO gateway.platforms.api_server: [Api_Server] API server stopped
2026-03-31 15:57:58,472 INFO gateway.run: ✓ api_server disconnected
2026-03-31 15:57:58,744 INFO telegram.ext.Application: Application is stopping. This might take a moment.
2026-03-31 15:57:58,745 INFO telegram.ext.Application: Application.stop() complete
2026-03-31 15:57:58,748 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
2026-03-31 15:57:58,749 INFO gateway.run: ✓ telegram disconnected
2026-03-31 15:57:58,750 INFO gateway.run: Gateway stopped
2026-03-31 15:58:16,419 WARNING gateway.config: Invalid idle_minutes=0 (must be positive). Using default 1440.
2026-03-31 15:58:16,513 INFO gateway.run: Starting Hermes Gateway...
2026-03-31 15:58:16,514 INFO gateway.run: Session storage: /root/wizards/allegro/home/sessions
2026-03-31 15:58:16,518 INFO gateway.run: Active profile: custom
2026-03-31 15:58:16,651 WARNING gateway.platforms.api_server: API_SERVER_KEY not configured. All requests will be rejected. Set API_SERVER_ALLOW_UNAUTHENTICATED=*** for local-only use, or configure API_SERVER_KEY for production.
2026-03-31 15:58:16,656 INFO gateway.run: Connecting to api_server...
2026-03-31 15:58:16,659 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8645
2026-03-31 15:58:16,660 INFO gateway.run: ✓ api_server connected
2026-03-31 15:58:17,015 INFO gateway.run: Connecting to telegram...
2026-03-31 15:58:17,227 INFO httpx: HTTP Request: GET https://cloudflare-dns.com/dns-query?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-31 15:58:17,231 INFO httpx: HTTP Request: GET https://dns.google/resolve?name=api.telegram.org&type=A "HTTP/1.1 200 OK"
2026-03-31 15:58:17,234 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
2026-03-31 15:58:17,235 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
2026-03-31 15:58:17,235 WARNING gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
2026-03-31 15:58:17,667 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getMe "HTTP/1.1 200 OK"
2026-03-31 15:58:17,669 INFO telegram.ext.Application: Application started
2026-03-31 15:58:17,762 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/deleteWebhook "HTTP/1.1 200 OK"
2026-03-31 15:58:18,192 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/setMyCommands "HTTP/1.1 200 OK"
2026-03-31 15:58:18,194 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode)
2026-03-31 15:58:18,195 INFO gateway.run: ✓ telegram connected
2026-03-31 15:58:18,196 INFO gateway.run: 1 hook(s) loaded
2026-03-31 15:58:18,197 INFO gateway.run: Gateway running with 2 platform(s)
2026-03-31 15:58:18,199 INFO gateway.run: Channel directory built: 2 target(s)
2026-03-31 15:58:18,200 INFO gateway.run: Press Ctrl+C to stop
2026-03-31 15:58:18,201 INFO gateway.run: Cron ticker started (interval=60s)
2026-03-31 15:58:28,231 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:58:38,336 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:58:48,420 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:58:58,507 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:59:08,590 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:59:18,679 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:59:28,766 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:59:38,857 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:59:48,943 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 15:59:59,029 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:00:09,116 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:00:19,204 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:00:29,290 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:00:39,377 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:00:49,463 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:00:59,551 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:01:09,638 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:01:19,726 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:01:29,813 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:01:39,899 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:01:49,986 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:02:00,078 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:02:10,165 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:02:20,257 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:02:30,359 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:02:40,447 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:02:50,532 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:03:00,624 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:03:10,710 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:03:20,797 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:03:30,882 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:03:40,970 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:03:51,055 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:04:01,138 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:04:11,231 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:04:21,639 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:04:31,724 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:04:41,825 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:04:51,914 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:05:02,001 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:05:12,129 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:05:22,217 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:05:32,301 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:05:42,386 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:05:52,470 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:06:02,562 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:06:12,651 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:06:22,740 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:06:32,825 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:06:42,909 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:06:53,002 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:07:03,094 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:07:13,184 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:07:23,270 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:07:33,358 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:07:43,447 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:07:53,537 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:08:03,621 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:08:13,712 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:08:23,797 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:08:33,892 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:08:43,983 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:08:54,074 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:09:04,159 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:09:14,248 INFO httpx: HTTP Request: POST https://api.telegram.org/bot8528070173:***/getUpdates "HTTP/1.1 200 OK"
2026-03-31 16:09:18,372 INFO run_agent: Loaded environment variables from /root/wizards/allegro/home/.env
2026-03-31 16:09:18,524 WARNING cron.scheduler: Cron job 'continuous-burn-loop': skill not found, skipping — Skill 'github' not found.
2026-03-31 16:09:18,553 INFO cron.scheduler: Running job 'continuous-burn-loop' (ID: 925c78f89f49)
2026-03-31 16:09:18,554 INFO cron.scheduler: Prompt: [SYSTEM: The following skill(s) were listed for this job but could not be found and were skipped: gi
2026-03-31 16:09:20,579 INFO agent.security: Security detection: {'timestamp': '2026-03-31T16:09:20.579002', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_160918', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 16:09:36,915 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (72 chars)
2026-03-31 16:09:37,350 INFO agent.auxiliary_client: Auxiliary auto-detect: using api-key (kimi-k2.5) — skipped: openrouter, nous, local/custom, openai-codex
2026-03-31 16:09:37,351 INFO agent.auxiliary_client: Auxiliary flush_memories: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 16:10:51,728 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 16:17:39,635 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 16:19:01,108 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:group:-1003664764329:7635059073 (147 chars)
2026-03-31 16:19:11,685 INFO gateway.platforms.base: [Telegram] Sending response (356 chars) to -1003664764329
2026-03-31 16:19:28,010 INFO gateway.run: Session split detected: 20260331_124138_68f306 → 20260331_161227_646e92 (compression)
2026-03-31 16:19:28,062 INFO gateway.platforms.base: [Telegram] Sending response (5134 chars) to 7635059073
2026-03-31 16:19:34,494 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 16:19:42,402 INFO gateway.run: User approved dangerous command via /approve: cd /root/wizards/allegro/hermes-agent && python3 -c "
import... (pattern approved for this session)
2026-03-31 16:19:42,823 INFO gateway.platforms.base: [Telegram] Sending response (519 chars) to 7635059073
2026-03-31 16:25:33,469 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (79 chars)
2026-03-31 16:25:42,111 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 16:27:53,366 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 16:27:53,396 INFO gateway.platforms.base: [Telegram] Sending response (2366 chars) to 7635059073
2026-03-31 16:27:56,588 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 16:32:36,779 INFO agent.security: Security detection: {'timestamp': '2026-03-31T16:32:36.779830', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_163236', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 16:33:07,645 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 16:37:24,187 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 16:43:54,425 INFO gateway.platforms.base: [Telegram] Sending response (30 chars) to -1003664764329
2026-03-31 16:45:21,858 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (66 chars)
2026-03-31 16:47:57,115 INFO gateway.platforms.base: [Telegram] Sending response (9834 chars) to 7635059073
2026-03-31 16:48:00,327 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 16:49:34,868 INFO gateway.run: User approved dangerous command via /approve: cd /tmp && rm -rf claude-code-src && git clone http://Timmy:...
2026-03-31 16:49:36,090 INFO gateway.platforms.base: [Telegram] Sending response (120 chars) to 7635059073
2026-03-31 16:49:49,963 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (53 chars)
2026-03-31 16:50:26,044 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (1 chars)
2026-03-31 16:51:28,216 INFO gateway.platforms.base: [Telegram] Sending response (8993 chars) to 7635059073
2026-03-31 16:52:21,408 INFO agent.security: Security detection: {'timestamp': '2026-03-31T16:52:21.408027', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_165221', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 16:52:48,935 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 16:52:54,141 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (24 chars)
2026-03-31 16:53:14,650 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 17:06:09,595 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (175 chars)
2026-03-31 17:10:09,391 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 17:25:06,438 INFO agent.security: Security detection: {'timestamp': '2026-03-31T17:25:06.438702', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_172506', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 17:29:38,749 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (65 chars)
2026-03-31 17:30:04,413 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (56 chars)
2026-03-31 17:31:20,842 WARNING security: SECURITY EVENT: {'timestamp': '2026-03-31T17:31:20.842391', 'event_type': 'crisis_under_attack', 'verdict': 'crisis_under_attack', 'confidence': 0.429, 'patterns_matched': 2, 'pattern_categories': ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation'], 'session_id': '20260331_173120_f11df4', 'is_crisis': True, 'is_jailbreak': True}
2026-03-31 17:31:20,845 CRITICAL run_agent: CRISIS_UNDER_ATTACK detected (confidence=0.429): ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation']
2026-03-31 17:31:20,846 WARNING security: SECURITY EVENT: {'timestamp': '2026-03-31T17:31:20.846826', 'event_type': 'crisis_under_attack', 'verdict': 'crisis_under_attack', 'confidence': 0.429, 'patterns_matched': 2, 'pattern_categories': ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation'], 'session_id': '20260331_173120_f11df4', 'routing_action': 'safe_six_routing'}
2026-03-31 17:31:47,658 INFO gateway.platforms.base: [Telegram] Sending response (2646 chars) to 7635059073
2026-03-31 17:31:51,911 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 17:34:09,041 INFO gateway.run: User approved dangerous command via /approve: rm /root/wizards/allegro/hermes-agent/test_imports.py...
2026-03-31 17:34:09,292 INFO gateway.platforms.base: [Telegram] Sending response (87 chars) to 7635059073
2026-03-31 17:34:48,915 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (159 chars)
2026-03-31 17:37:36,297 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 17:53:14,379 INFO agent.security: Security detection: {'timestamp': '2026-03-31T17:53:14.379755', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_175314', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 17:53:33,899 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 17:54:12,599 INFO agent.auxiliary_client: Auxiliary flush_memories: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 17:55:44,189 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 18:08:42,374 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (369 chars)
2026-03-31 18:09:10,702 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 18:11:14,333 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (105 chars)
2026-03-31 18:11:14,591 INFO gateway.run: Session split detected: 20260331_161227_646e92 → 20260331_175717_daf59f (compression)
2026-03-31 18:11:45,772 INFO gateway.run: Session split detected: 20260331_161227_646e92 → 20260331_175717_daf59f (compression)
2026-03-31 18:11:45,794 INFO gateway.platforms.base: [Telegram] Sending response (1150 chars) to 7635059073
2026-03-31 18:12:53,920 INFO gateway.run: User approved dangerous command via /approve: cp /root/wizards/allegro-primus/dashboard/ap-dashboard.servi...
2026-03-31 18:12:54,949 INFO gateway.platforms.base: [Telegram] Sending response (87 chars) to 7635059073
2026-03-31 18:13:36,966 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (2 chars)
2026-03-31 18:15:17,576 INFO gateway.platforms.base: [Telegram] Sending response (955 chars) to 7635059073
2026-03-31 18:15:20,785 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 18:17:49,192 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (65 chars)
2026-03-31 18:18:33,282 INFO gateway.platforms.base: [Telegram] Sending response (981 chars) to 7635059073
2026-03-31 18:19:43,492 INFO agent.security: Security detection: {'timestamp': '2026-03-31T18:19:43.492060', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_181943', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 18:20:18,356 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (87 chars)
2026-03-31 18:24:01,846 INFO gateway.platforms.base: [Telegram] Sending response (739 chars) to 7635059073
2026-03-31 18:24:05,135 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 18:24:05,521 INFO gateway.run: User approved dangerous command via /approve: # Stop all Ezra gateways and restart properly
ssh root@143.1...
2026-03-31 18:24:06,348 INFO gateway.platforms.base: [Telegram] Sending response (89 chars) to 7635059073
2026-03-31 18:25:50,480 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (169 chars)
2026-03-31 18:27:10,241 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (96 chars)
2026-03-31 18:27:44,477 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (54 chars)
2026-03-31 18:28:45,262 INFO gateway.platforms.base: [Telegram] Sending response (834 chars) to 7635059073
2026-03-31 18:29:32,281 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (108 chars)
2026-03-31 18:33:39,982 INFO gateway.platforms.base: [Telegram] Sending response (1113 chars) to 7635059073
2026-03-31 18:33:44,621 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 18:36:30,654 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (55 chars)
2026-03-31 18:37:18,646 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (185 chars)
2026-03-31 18:39:09,865 INFO gateway.platforms.base: [Telegram] Sending response (1558 chars) to 7635059073
2026-03-31 18:39:14,115 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 18:45:56,726 INFO gateway.platforms.base: [Telegram] Sending response (76 chars) to 7635059073
2026-03-31 18:46:40,443 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (128 chars)
2026-03-31 18:47:12,042 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 18:47:47,100 INFO gateway.platforms.base: [Telegram] Sending response (1654 chars) to 7635059073
2026-03-31 18:48:17,347 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (68 chars)
2026-03-31 18:48:31,303 INFO gateway.platforms.base: [Telegram] Sending response (669 chars) to 7635059073
2026-03-31 18:48:56,016 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (45 chars)
2026-03-31 18:49:48,464 INFO gateway.platforms.base: [Telegram] Sending response (429 chars) to 7635059073
2026-03-31 18:49:48,726 WARNING gateway.platforms.base: [Telegram] Failed to send media (): File not found: /absolute/path/to/file
2026-03-31 18:50:50,692 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (83 chars)
2026-03-31 18:51:00,884 INFO gateway.platforms.base: [Telegram] Sending response (314 chars) to 7635059073
2026-03-31 18:52:19,757 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (47 chars)
2026-03-31 18:52:31,741 INFO gateway.platforms.base: [Telegram] Sending response (232 chars) to 7635059073
2026-03-31 18:53:47,585 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (172 chars)
2026-03-31 18:54:13,090 INFO gateway.platforms.base: [Telegram] Sending response (867 chars) to 7635059073
2026-03-31 18:54:16,343 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 18:54:38,366 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (34 chars)
2026-03-31 18:55:48,040 INFO gateway.platforms.base: [Telegram] Sending response (585 chars) to 7635059073
2026-03-31 18:57:11,781 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (118 chars)
2026-03-31 19:00:26,800 INFO gateway.platforms.base: [Telegram] Sending response (1547 chars) to 7635059073
2026-03-31 19:00:32,049 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 19:02:08,789 INFO agent.security: Security detection: {'timestamp': '2026-03-31T19:02:08.789028', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_190208', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 19:02:24,880 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 19:10:41,829 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 19:25:38,788 INFO agent.security: Security detection: {'timestamp': '2026-03-31T19:25:38.788463', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_192537', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 19:25:59,258 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 19:58:03,761 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 19:59:11,318 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 20:14:07,178 INFO agent.security: Security detection: {'timestamp': '2026-03-31T20:14:07.178384', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_201406', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 20:14:40,040 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 20:15:06,683 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 20:40:21,361 INFO agent.security: Security detection: {'timestamp': '2026-03-31T20:40:21.361384', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_204020', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 20:40:53,102 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 20:50:33,699 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (81 chars)
2026-03-31 20:52:28,965 INFO gateway.platforms.base: [Telegram] Sending response (2741 chars) to 7635059073
2026-03-31 20:52:33,135 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 20:53:41,097 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (61 chars)
2026-03-31 20:56:31,436 INFO gateway.platforms.base: [Telegram] Sending response (1225 chars) to 7635059073
2026-03-31 20:56:36,149 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 21:01:11,857 INFO gateway.platforms.telegram: [Telegram] Cached user voice at /root/wizards/allegro/home/cache/audio/audio_951218384e92.ogg
2026-03-31 21:01:14,923 INFO faster_whisper: Processing audio with duration 01:27.174
2026-03-31 21:01:18,370 INFO faster_whisper: Detected language 'en' with probability 1.00
2026-03-31 21:09:55,691 INFO agent.auxiliary_client: Auxiliary flush_memories: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 21:10:05,977 INFO gateway.platforms.base: [Telegram] Sending response (1295 chars) to 7635059073
2026-03-31 21:11:27,008 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 21:12:30,875 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 21:22:06,373 INFO agent.security: Security detection: {'timestamp': '2026-03-31T21:22:06.372997', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_212206', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 21:27:41,899 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 21:31:00,080 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (87 chars)
2026-03-31 21:31:00,248 INFO agent.auxiliary_client: Auxiliary flush_memories: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 21:32:12,695 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 21:37:16,497 INFO gateway.run: Session split detected: 20260331_175717_daf59f → 20260331_213352_cd9f96 (compression)
2026-03-31 21:37:16,514 INFO gateway.platforms.base: [Telegram] Sending response (1293 chars) to 7635059073
2026-03-31 21:42:39,248 INFO agent.security: Security detection: {'timestamp': '2026-03-31T21:42:39.248783', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_214238', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 21:42:53,925 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (28 chars)
2026-03-31 21:43:01,159 INFO agent.auxiliary_client: Auxiliary compression: using auto (kimi-k2.5) at https://api.kimi.com/coding/v1/
2026-03-31 21:43:03,880 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 21:43:04,168 INFO gateway.platforms.base: [Telegram] Sending response (422 chars) to 7635059073
2026-03-31 21:43:15,296 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (14 chars)
2026-03-31 21:43:26,303 INFO gateway.platforms.base: [Telegram] Sending response (617 chars) to 7635059073
2026-03-31 21:43:51,889 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (555 chars)
2026-03-31 21:44:05,301 INFO gateway.platforms.base: [Telegram] Sending response (819 chars) to 7635059073
2026-03-31 21:48:44,918 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 21:53:03,654 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (25 chars)
2026-03-31 21:53:28,136 INFO gateway.platforms.base: [Telegram] Sending response (686 chars) to 7635059073
2026-03-31 22:01:55,326 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (30 chars)
2026-03-31 22:02:45,278 INFO gateway.platforms.base: [Telegram] Sending response (299 chars) to 7635059073
2026-03-31 22:04:54,731 INFO agent.security: Security detection: {'timestamp': '2026-03-31T22:04:54.731669', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_220454', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 22:08:19,139 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 22:08:20,649 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 22:08:22,149 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 22:10:02,492 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (91 chars)
2026-03-31 22:10:21,838 INFO gateway.platforms.base: [Telegram] Sending response (610 chars) to 7635059073
2026-03-31 22:10:51,391 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (108 chars)
2026-03-31 22:11:10,642 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (4 chars)
2026-03-31 22:11:21,285 INFO gateway.platforms.base: [Telegram] Sending response (39 chars) to 7635059073
2026-03-31 22:11:44,401 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (167 chars)
2026-03-31 22:12:01,276 INFO gateway.platforms.base: [Telegram] Sending response (692 chars) to 7635059073
2026-03-31 22:12:34,880 INFO gateway.platforms.telegram: [Telegram] Cached user photo at /root/wizards/allegro/home/cache/images/img_a6b2753937c8.jpg
2026-03-31 22:12:35,682 INFO gateway.platforms.telegram: [Telegram] Flushing photo batch agent:main:telegram:dm:7635059073:photo-burst with 1 image(s)
2026-03-31 22:12:35,781 ERROR tools.vision_tools: Error analyzing image: No LLM provider configured for task=vision provider=auto. Run: hermes setup
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/vision_tools.py", line 413, in vision_analyze_tool
response = await async_call_llm(**call_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/agent/auxiliary_client.py", line 1839, in async_call_llm
RuntimeError: No LLM provider configured for task=vision provider=auto. Run: hermes setup
2026-03-31 22:12:50,920 INFO gateway.platforms.base: [Telegram] Sending response (597 chars) to 7635059073
2026-03-31 22:12:53,074 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:14:09,735 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (77 chars)
2026-03-31 22:14:19,941 INFO gateway.platforms.base: [Telegram] Sending response (444 chars) to 7635059073
2026-03-31 22:14:54,504 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (109 chars)
2026-03-31 22:15:09,948 INFO gateway.platforms.base: [Telegram] Sending response (856 chars) to 7635059073
2026-03-31 22:15:36,766 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (67 chars)
2026-03-31 22:15:46,961 INFO gateway.platforms.base: [Telegram] Sending response (375 chars) to 7635059073
2026-03-31 22:16:18,462 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (115 chars)
2026-03-31 22:16:29,354 INFO gateway.platforms.base: [Telegram] Sending response (129 chars) to 7635059073
2026-03-31 22:16:52,433 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (91 chars)
2026-03-31 22:17:02,605 INFO gateway.platforms.base: [Telegram] Sending response (235 chars) to 7635059073
2026-03-31 22:17:16,755 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (76 chars)
2026-03-31 22:17:26,928 INFO gateway.platforms.base: [Telegram] Sending response (92 chars) to 7635059073
2026-03-31 22:18:38,950 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (255 chars)
2026-03-31 22:19:08,738 INFO gateway.platforms.base: [Telegram] Sending response (3698 chars) to 7635059073
2026-03-31 22:19:11,944 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:20:23,093 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (45 chars)
2026-03-31 22:21:04,379 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 22:21:15,138 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (66 chars)
2026-03-31 22:21:30,504 INFO gateway.platforms.base: [Telegram] Sending response (498 chars) to 7635059073
2026-03-31 22:22:02,424 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (131 chars)
2026-03-31 22:22:19,945 INFO gateway.platforms.base: [Telegram] Sending response (1021 chars) to 7635059073
2026-03-31 22:22:23,668 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:23:07,624 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (229 chars)
2026-03-31 22:23:17,816 INFO gateway.platforms.base: [Telegram] Sending response (274 chars) to 7635059073
2026-03-31 22:23:47,606 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (94 chars)
2026-03-31 22:24:29,230 INFO gateway.platforms.base: [Telegram] Sending response (448 chars) to 7635059073
2026-03-31 22:25:15,509 INFO agent.security: Security detection: {'timestamp': '2026-03-31T22:25:15.509416', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_222515', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 22:25:44,467 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
handler=lambda args, **kw: execute_code(
^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 22:26:21,805 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (186 chars)
2026-03-31 22:26:36,824 INFO gateway.platforms.base: [Telegram] Sending response (881 chars) to 7635059073
2026-03-31 22:27:53,640 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (53 chars)
2026-03-31 22:28:28,503 INFO gateway.platforms.base: [Telegram] Sending response (1313 chars) to 7635059073
2026-03-31 22:30:13,841 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (125 chars)
2026-03-31 22:30:31,456 INFO gateway.platforms.base: [Telegram] Sending response (844 chars) to 7635059073
2026-03-31 22:39:52,209 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:45:33,893 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (48 chars)
2026-03-31 22:46:48,697 INFO gateway.platforms.base: [Telegram] Sending response (678 chars) to 7635059073
2026-03-31 22:46:51,914 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:47:37,469 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (42 chars)
2026-03-31 22:48:41,234 INFO gateway.platforms.base: [Telegram] Sending response (564 chars) to 7635059073
2026-03-31 22:48:44,438 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:51:57,962 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (54 chars)
2026-03-31 22:53:37,529 INFO gateway.platforms.base: [Telegram] Sending response (1101 chars) to 7635059073
2026-03-31 22:53:40,745 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 22:54:48,932 INFO agent.security: Security detection: {'timestamp': '2026-03-31T22:54:48.932350', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_225448', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 22:56:34,399 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 23:06:11,692 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 23:15:15,133 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (212 chars)
2026-03-31 23:16:44,757 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (8 chars)
2026-03-31 23:16:56,509 INFO gateway.platforms.base: [Telegram] Sending response (784 chars) to 7635059073
2026-03-31 23:16:58,202 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (56 chars)
2026-03-31 23:16:59,694 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 23:18:06,705 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (108 chars)
2026-03-31 23:18:49,716 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (72 chars)
2026-03-31 23:19:52,513 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 23:20:43,925 INFO gateway.platforms.base: [Telegram] Sending response (593 chars) to 7635059073
2026-03-31 23:20:49,991 INFO gateway.run: User approved dangerous command via /approve: pkill -9 -f "hermes gateway.*ezra" 2>/dev/null; sleep 1; cd ...
2026-03-31 23:20:50,250 INFO gateway.platforms.base: [Telegram] Sending response (88 chars) to 7635059073
2026-03-31 23:21:09,485 INFO agent.security: Security detection: {'timestamp': '2026-03-31T23:21:09.485247', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_232109', 'is_crisis': False, 'is_jailbreak': True}
2026-03-31 23:21:09,724 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (53 chars)
2026-03-31 23:21:21,653 INFO gateway.platforms.base: [Telegram] Sending response (773 chars) to 7635059073
2026-03-31 23:21:26,886 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 23:22:09,507 WARNING security: SECURITY EVENT: {'timestamp': '2026-03-31T23:22:09.507656', 'event_type': 'crisis_under_attack', 'verdict': 'crisis_under_attack', 'confidence': 0.43, 'patterns_matched': 2, 'pattern_categories': ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation'], 'session_id': '20260331_232209_be69cf', 'is_crisis': True, 'is_jailbreak': True}
2026-03-31 23:22:09,512 CRITICAL run_agent: CRISIS_UNDER_ATTACK detected (confidence=0.43): ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation']
2026-03-31 23:22:09,514 WARNING security: SECURITY EVENT: {'timestamp': '2026-03-31T23:22:09.514584', 'event_type': 'crisis_under_attack', 'verdict': 'crisis_under_attack', 'confidence': 0.43, 'patterns_matched': 2, 'pattern_categories': ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation'], 'session_id': '20260331_232209_be69cf', 'routing_action': 'safe_six_routing'}
2026-03-31 23:23:21,179 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (218 chars)
2026-03-31 23:26:14,677 ERROR tools.registry: Tool execute_code dispatch error: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
Traceback (most recent call last):
File "/root/wizards/allegro/hermes-agent/tools/registry.py", line 158, in dispatch
return entry.handler(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 830, in <lambda>
File "/root/wizards/allegro/hermes-agent/tools/code_execution_tool.py", line 373, in execute_code
from tools.terminal_tool import _interrupt_event
ImportError: cannot import name '_interrupt_event' from 'tools.terminal_tool' (/root/wizards/allegro/hermes-agent/tools/terminal_tool.py)
2026-03-31 23:28:37,050 WARNING root: Failed to get summary response: Error code: 400 - {'error': {'message': 'tool_call_id is not found', 'type': 'invalid_request_error'}}
2026-03-31 23:28:37,213 INFO gateway.platforms.base: [Telegram] Sending response (172 chars) to 7635059073
2026-03-31 23:28:41,023 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 23:35:39,962 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (2 chars)
2026-03-31 23:36:15,001 INFO gateway.platforms.base: [Telegram] Sending response (1873 chars) to 7635059073
2026-03-31 23:36:41,593 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (2 chars)
2026-03-31 23:37:05,688 INFO gateway.platforms.base: [Telegram] Sending response (1156 chars) to 7635059073
2026-03-31 23:37:09,422 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}
2026-03-31 23:37:29,686 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:7635059073 (74 chars)
2026-03-31 23:37:52,510 INFO gateway.platforms.base: [Telegram] Sending response (1693 chars) to 7635059073
2026-03-31 23:59:51,524 INFO agent.security: Security detection: {'timestamp': '2026-03-31T23:59:51.523945', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260331_235950', 'is_crisis': False, 'is_jailbreak': True}
2026-04-01 00:01:48,295 WARNING security: SECURITY EVENT: {'timestamp': '2026-04-01T00:01:48.295237', 'event_type': 'crisis_under_attack', 'verdict': 'crisis_under_attack', 'confidence': 0.429, 'patterns_matched': 2, 'pattern_categories': ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation'], 'session_id': '20260401_000148_653ca4', 'is_crisis': True, 'is_jailbreak': True}
2026-04-01 00:01:48,299 CRITICAL run_agent: CRISIS_UNDER_ATTACK detected (confidence=0.429): ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation']
2026-04-01 00:01:48,301 WARNING security: SECURITY EVENT: {'timestamp': '2026-04-01T00:01:48.301407', 'event_type': 'crisis_under_attack', 'verdict': 'crisis_under_attack', 'confidence': 0.429, 'patterns_matched': 2, 'pattern_categories': ['[JAILBREAK] pliny_marker', '[CRISIS] direct_suicidal_ideation'], 'session_id': '20260401_000148_653ca4', 'routing_action': 'safe_six_routing'}
2026-04-01 00:37:06,357 INFO agent.security: Security detection: {'timestamp': '2026-04-01T00:37:06.357759', 'event_type': 'jailbreak_detected', 'verdict': 'jailbreak_detected', 'confidence': 0.0, 'patterns_matched': 1, 'pattern_categories': ['[JAILBREAK] encoding_evasion'], 'session_id': 'cron_925c78f89f49_20260401_003706', 'is_crisis': False, 'is_jailbreak': True}
2026-04-01 00:45:16,128 ERROR root: Non-retryable client error: Error code: 403 - {'error': {'message': 'Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.', 'type': 'access_terminated_error'}}