Files
sirpremiumv2/app/Models
LizandroandClaude Sonnet 4.6 44297aa0bb Add AI usage logs for Gemini and Whisper
- Migration + AiUsageLog model with tokens, duration, time, cost fields
- GeminiIntentService and GeminiVisionService log every API call
  with input/output token counts from usageMetadata and response time
- TelegramBotService logs Whisper calls with audio duration (from Telegram)
  and calculates cost at $1/second
- Whisper voice duration now passed from TelegramWebhookController
- Free text in Telegram now tries Gemini intent detection before showing menu
- /chat/ia-logs: Livewire component with summary cards + filterable table
- Whisper connection test button in config panel
- "Logs IA" link added to Chat/Bot nav section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-14 19:13:59 +00:00
..
2023-11-07 22:43:10 +00:00
2026-04-30 21:32:32 -05:00
2026-04-30 21:32:32 -05:00
2026-04-30 21:32:32 -05:00
2026-04-30 21:32:32 -05:00
up
2026-06-18 12:33:26 -05:00
2025-08-22 09:25:37 -07:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
up
2026-06-18 12:33:26 -05:00
2025-07-31 15:19:22 -07:00
2024-03-01 08:05:52 -05:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2024-03-07 10:55:42 -05:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2023-11-07 22:43:10 +00:00
2025-04-14 18:29:28 -05:00
2025-06-14 11:46:14 -07:00
2023-11-07 22:43:10 +00:00
2026-06-18 11:06:49 -05:00
2023-11-07 22:43:10 +00:00
2025-06-26 11:05:53 -07:00
2025-06-19 17:54:22 -07:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00
up
2026-04-24 21:40:10 -05:00