• Aryan Noshirvani's avatar
    Drop Claude, refine back to a single Gemini call · b2ed559a
    Aryan Noshirvani authored
    Per direction: no Claude. Merged the two-step Gemini-describes/Claude-
    plans pipeline back into one Gemini call that both listens to every
    song's real audio preview and produces the full structured plan
    (sections, target key, sidechain, style) directly - simpler than two
    model calls, and the audio-perception advantage that motivated the
    two-step design in the first place only mattered when comparing
    against a text-only Claude call anyway.
    
    Tried gemini-2.5-pro for better reasoning first (background job, can
    absorb the latency) - live 429 confirmed this API key's free tier has
    a hard zero quota for -pro ("limit: 0", not exhausted), so reverted to
    gemini-2.5-flash, which the rest of this app already runs on
    successfully. Removed the anthropic dependency and ANTHROPIC_API_KEY
    entirely rather than leaving unused Claude plumbing around.
    
    Verified end-to-end against the real API: a "house remix with a big
    sidechain pump and a proper build-drop structure" request produced 5
    real sections (intro/build/drop/breakdown/outro) with genuinely
    different stems active per section, sidechain enabled and targeting
    the correct song's drums, style set to house, and a valid ~9s tagged
    MP3 out the other end.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01BCxXmJVvDFJVHTUi4QgNzi
    b2ed559a
Name
Last commit
Last update
deploy/systemd Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
docker-compose.yml Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...