Spaces:
Running

microfunnel-api / backend /app /api /webhook.py

Commit History

  1. Fix: [SEND_VOICE] tag leak when voice disabled + Update notification bot token

    79c4ca3

  1. fix: complete rollback of backend files (webhook, lead, analyzer)

    axeronis
    4a0b194
  2. fix: resolve background task errors (notify_new_appointment argument mismatch and psychotype enum case sensitivity)

    axeronis
    e87a3c0
  3. fix: resolve SyntaxError in webhook.py by properly nesting try-except blocks

    axeronis
    95641e0
  4. fix: isolated DB sessions for background tasks and robust error handling in lead analyzer

    axeronis
    dd5dc05
  5. fix: restore missing migration, update lead models and re-apply parallel analysis

    axeronis
    b5833df
  6. Final fix for AISummary validation and booking duplication robustness

    axeronis
    c6f8a06
  7. Fix qualification visibility, LLM robustness, and duplicate booking logic

    axeronis
    aecbce0
  8. fix: final resolution for Gemini summary schema and UI real-time sync

    axeronis
    3ecc6cd
  9. fix: hardcoded Gemini schema and real-time UI data sync

    axeronis
    89c8da5
  10. fix: SEND_MEDIA flexible regex + ClientCard flickering/truncation

    axeronis
    8c1ffc7

  1. fix: Robust product tracking (DB), Regex matching, Google Auth

    axeronis
    a5a659b
  2. feat: Optimize media sending - Reply instead of Resend for products

    axeronis
    8a72cf3
  3. fix: Escalation check method in webhook.py (AttributeError)

    axeronis
    e972df3
  4. perf: optimize ai speed by moving analysis to background task

    axeronis
    1c28cfd
  5. fix: welcome message tenant_id null, heat level color case, smooth scroll everywhere

    axeronis
    ab96df2
  6. HOTFIX: remove local Message import that shadowed global import causing crash

    axeronis
    2cc83d8
  7. fix: welcome message save/load - add to TenantResponse, fix ai_identity path

    axeronis
    36378a5
  8. fix: welcome message save/load, save to history, filter ClientCard by selected fields

    axeronis
    e9f9cca

  1. fix: instant /start welcome with template, fewer qualification fields, remove emoji

    axeronis
    8b679a2
  2. fix: TypeScript build errors with googleAuth, remove automatic name extraction

    axeronis
    b6db670
  3. fix: limit name extraction to first 5 messages only to prevent random word extraction

    axeronis
    22ede4b
  4. feat: comprehensive updates - remove 7-day trial mentions, AI trial restriction, notifications with dialog summary, Telegram welcome message, Google OAuth on register

    axeronis
    80c9efd

  1. feat: BOOK_SLOT tag handler - auto-create appointments from AI response⁠

    axeronis
    a345825
  2. Feature: Smart media references with Telegram Reply support via [REPLY_TO_MEDIA:ID] tag

    axeronis
    30ba090
  3. Fix: Smart payment detection, AI-powered escalation, and response integrity

    axeronis
    6a43a6e
  4. Fix: Respect voice_first_required setting in AI responses

    axeronis
    72e0729
  5. Fix UnboundLocalError, improve AI math, greetings, and name extraction

    axeronis
    bc09d91

  1. feat: add typing indicator, infinity bg, fix criteria display

    axeronis
    333903b
  2. fix: make internal stages filter less aggressive

    axeronis
    b69431c
  3. fix(ai): prevent internal stages leak and add qualification fields generation

    axeronis
    7167be0
  4. fix(ai): add SEND_PAYMENT_QR tag support for QR codes

    axeronis
    df97a07

  1. fix: booking resources optional, existing usage check, hot lead notifications

    axeronis
    5152823

  1. feat: booking system overhaul - remove debounce, day/week/month views, resource filter, drag-n-drop, Telegram notifications

    axeronis
    b38cc4d

  1. feat: Backend Media Reply logic & UI Sidebar fixes

    axeronis
    33256ac

  1. feat: resource-specific booking and notifications + unified ai_identity

    axeronis
    bc65edb
  2. perf: reduce debounce from 4s to 2s for faster response

    axeronis
    c5b0923
  3. fix: post-generation check - abort if new messages arrived during AI generation

    axeronis
    464c219
  4. feat: batch multiple user messages for single AI response after debounce

    axeronis
    dba971d

  1. feat: Complete Media Cache Reply integration - Reply to sent media instead of skipping

    axeronis
    27bea75
  2. feat: Content Delivery System for coaches - MediaLibrary with flexible triggers (by_day, by_stage, by_event, ai_decides)

    axeronis
    cd34c6f

  1. feat: enable smart LLM name extraction

    axeronis
    4e07887
  2. feat: add reply_to_message support so AI understands when user replies to specific message

    axeronis
    cca9494
  3. feat: send product images as album (media group) instead of individual photos

    axeronis
    10e7b9a
  4. fix: correct import path for Message model (app.models.lead)

    axeronis
    8d0d85b
  5. fix: send ALL product images and save to DB for chat display

    axeronis
    6d3b96e
  6. feat: add reschedule notification when appointments are moved to new time

    axeronis
    f9d6bc4
  7. fix: prevent duplicate booking when AI confirms existing appointment

    axeronis
    39ac4b7

  1. fix: booking uses AI-extracted name and niche, removed hardcoded keywords

    axeronis
    a843d00
  2. feat: TTS sanitizer - extract URLs/cards/emails and send as text after voice

    axeronis
    c222f07