Spaces:
Running
Running
sync: 149 file da Baida98/AI@0ea4f2b6 (2026-07-01 10:39 UTC)
Browse files- api/telegram_webhook.py +6 -8
api/telegram_webhook.py
CHANGED
|
@@ -2122,7 +2122,7 @@ async def _handle_callback(callback_query: dict, token: str) -> None:
|
|
| 2122 |
await _cmd_status(chat_id)
|
| 2123 |
await _tg_reply(chat_id, "π <b>Stato Sistema</b> β altre opzioni:", token=token, keyboard=_STATUS_MENU_KB)
|
| 2124 |
elif data == "menu_perf":
|
| 2125 |
-
await _tg_reply(chat_id,"π <b>Performance</b> β scegli:", token=token, keyboard=_PERF_MENU_KB)
|
| 2126 |
elif data == "menu_health":
|
| 2127 |
asyncio.create_task(_cmd_scan_now(chat_id)).add_done_callback(_log_tg_exc)
|
| 2128 |
elif data == "menu_dev":
|
|
@@ -2250,13 +2250,11 @@ await _tg_reply(chat_id,"π <b>Performance</b> β scegli:", token=token, keyb
|
|
| 2250 |
"PrioritΓ : test di integrazione per i path piΓΉ usati e i casi di errore.")).add_done_callback(_log_tg_exc)
|
| 2251 |
elif data == "qp_custom":
|
| 2252 |
await _tg_reply(chat_id,
|
| 2253 |
-
"βοΈ <b>Scrivi il tuo obiettivo</b>
|
| 2254 |
-
|
| 2255 |
-
|
| 2256 |
-
|
| 2257 |
-
|
| 2258 |
-
" " <code>ottimizza le query Supabase lente</code>
|
| 2259 |
-
" " <code>analizza providers.py e suggerisci fix</code>",
|
| 2260 |
token=token, keyboard=_BACK_KB)
|
| 2261 |
# ββ tgw_retry β rilancia l'ultimo task βββββββββββββββββββββββββββββββββββ
|
| 2262 |
elif data == "tgw_retry":
|
|
|
|
| 2122 |
await _cmd_status(chat_id)
|
| 2123 |
await _tg_reply(chat_id, "π <b>Stato Sistema</b> β altre opzioni:", token=token, keyboard=_STATUS_MENU_KB)
|
| 2124 |
elif data == "menu_perf":
|
| 2125 |
+
await _tg_reply(chat_id, "π <b>Performance</b> β scegli:", token=token, keyboard=_PERF_MENU_KB)
|
| 2126 |
elif data == "menu_health":
|
| 2127 |
asyncio.create_task(_cmd_scan_now(chat_id)).add_done_callback(_log_tg_exc)
|
| 2128 |
elif data == "menu_dev":
|
|
|
|
| 2250 |
"PrioritΓ : test di integrazione per i path piΓΉ usati e i casi di errore.")).add_done_callback(_log_tg_exc)
|
| 2251 |
elif data == "qp_custom":
|
| 2252 |
await _tg_reply(chat_id,
|
| 2253 |
+
"βοΈ <b>Scrivi il tuo obiettivo</b>\n"
|
| 2254 |
+
"Scrivi liberamente nella chat β lo eseguo come task AI.\n"
|
| 2255 |
+
"<i>Esempi:</i>\n"
|
| 2256 |
+
" <code>ottimizza le query Supabase lente</code>\n"
|
| 2257 |
+
" <code>analizza providers.py e suggerisci fix</code>",
|
|
|
|
|
|
|
| 2258 |
token=token, keyboard=_BACK_KB)
|
| 2259 |
# ββ tgw_retry β rilancia l'ultimo task βββββββββββββββββββββββββββββββββββ
|
| 2260 |
elif data == "tgw_retry":
|