Fix composer hangs and JSON failures (no timeout on the LLM call)

#2
by multimodalart HF Staff - opened

Users are stuck forever at 'Writing lyrics & structured prompt with MiniMax-M3...' and others get JSONDecodeError. Cause: the router call has no timeout (a hung provider freezes the step indefinitely) and no robust JSON handling (truncated replies crash). Fix: 60s timeout + provider fallback chain + outermost-{...} parsing + a clear error pointing to the Studio tab as fallback.

multimodalart changed pull request status to merged

Sign up or log in to comment