• Aryan Noshirvnai's avatar
    Fix identification silently failing: swap overloaded gemini-3.7-flash for gemini-2.5-flash · db4acbbe
    Aryan Noshirvnai authored
    Uploads were coming back unidentified for any song Shazam couldn't
    match - AcoustID's key is independently broken (unrelated, already
    known), but the Gemini last-resort fallback was ALSO failing on every
    call, always timing out at the configured deadline. Direct testing
    against Google's API confirmed gemini-3.7-flash is currently returning
    503 "experiencing high demand" and the SDK's retry loop was burning the
    whole timeout before surfacing that. gemini-2.5-flash responds in
    single-digit seconds for the same audio and correctly identifies songs
    Shazam can't. Swapped in the 4 places that hardcoded the model name
    (music identification, inline genre backfill, remix planning, and the
    legacy Telegram bot's remix recipe).
    db4acbbe