Spaces:
Configuration error
Configuration error
| """api/notify_bot.py — RIMOSSO: le notifiche Telegram sono gestite dal daemon Node.js. | |
| Questo stub esiste solo per compatibilità con import esistenti. | |
| """ | |
| from fastapi import APIRouter | |
| router = APIRouter() | |
| hf_sync_router = APIRouter() | |
| def is_configured() -> bool: return False | |
| def start_notify_polling() -> None: pass | |
| def start_provider_watchdog() -> None: pass | |
| async def notify_daemon_crash_check() -> dict: return {"ok": True, "stub": True} | |
| async def nb_task_done(task_id, goal, result="", started_at_ms=None): pass | |
| async def nb_task_error(task_id, goal, error=""): pass | |
| async def nb_task_start(task_id, goal): pass | |
| async def nb_task_step(task_id, action, explanation=""): pass | |