fix: add missing Telegram tokens for DAARWIZZ, DRUID, GREENFOOD

Synced from NODA1 after 2026-02-03 incident fix.
All 9 agents now have tokens configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Apple
2026-02-03 07:26:56 -08:00
parent 6b54e0da6d
commit a0a89b577d
2 changed files with 21 additions and 14 deletions

View File

@@ -152,6 +152,15 @@ services:
- CLAN_PROMPT_PATH=/app/gateway-bot/clan_prompt.txt - CLAN_PROMPT_PATH=/app/gateway-bot/clan_prompt.txt
# Eonarch - Еволюція свідомості # Eonarch - Еволюція свідомості
- EONARCH_TELEGRAM_BOT_TOKEN=7962391584:AAFYkelLRG3VR_Lxuu6pEGG76t4vZdANtz4 - EONARCH_TELEGRAM_BOT_TOKEN=7962391584:AAFYkelLRG3VR_Lxuu6pEGG76t4vZdANtz4
# DAARWIZZ - Meta-Orchestrator
- DAARWIZZ_TELEGRAM_BOT_TOKEN=8323412397:AAGZbAR22LuOiGD8xVC3OXMjahQ8rs2lJwo
- DAARWIZZ_NAME=DAARWIZZ
# DRUID - Ayurveda/Cosmetics
- DRUID_TELEGRAM_BOT_TOKEN=8145618489:AAFR714mBsNmiuF-rjCw-295iORBReJQZ70
- DRUID_NAME=DRUID
# GREENFOOD - Food ERP
- GREENFOOD_TELEGRAM_BOT_TOKEN=7495165343:AAGR1XEOzg7DkPFPCzL_eYLCJfxJuonCxug
- GREENFOOD_NAME=GREENFOOD
- EONARCH_NAME=EONARCH - EONARCH_NAME=EONARCH
- EONARCH_PROMPT_PATH=/app/gateway-bot/eonarch_prompt.txt - EONARCH_PROMPT_PATH=/app/gateway-bot/eonarch_prompt.txt
- MEMORY_SERVICE_URL=http://memory-service:8000 - MEMORY_SERVICE_URL=http://memory-service:8000

View File

@@ -1771,22 +1771,20 @@ async def handle_telegram_webhook(
# Endpoints # Endpoints
# ======================================== # ========================================
# DAARWIZZ webhook endpoints (both paths for compatibility)
@router.post("/telegram/webhook") @router.post("/telegram/webhook")
async def telegram_webhook(update: TelegramUpdate): async def telegram_webhook(update: TelegramUpdate):
""" """Handle Telegram webhook for DAARWIZZ agent (default path)."""
Handle Telegram webhook for DAARWIZZ agent. try:
return await handle_telegram_webhook(DAARWIZZ_CONFIG, update)
Telegram update format: except Exception as e:
{ logger.error(f"Error handling DAARWIZZ Telegram webhook: {e}", exc_info=True)
"update_id": 123, raise HTTPException(status_code=500, detail=str(e))
"message": {
"message_id": 456,
"from": {"id": 12345, "username": "alice"}, @router.post("/daarwizz/telegram/webhook")
"chat": {"id": 12345, "type": "private"}, async def daarwizz_telegram_webhook(update: TelegramUpdate):
"text": "Hello!" """Handle Telegram webhook for DAARWIZZ agent (agent-specific path)."""
}
}
"""
try: try:
return await handle_telegram_webhook(DAARWIZZ_CONFIG, update) return await handle_telegram_webhook(DAARWIZZ_CONFIG, update)
except Exception as e: except Exception as e: