File size: 697 Bytes
28a08e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""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