Spaces:
Running on Zero

Show prediction validation errors in the standalone Studio

#12

I reproduced three rejected requests on the standalone Studio page in Chrome using the released prediction route. An empty SMILES string, the unclosed ring C1, and an unknown gene each returned HTTP 400 with a specific message. The page replaced all three with “Prediction interrupted” and asked the user to run again.

The direct runner now displays the endpoint’s validation message. All three messages appeared in the patched browser run, and all three retries with valid presets displayed saved prediction results.

I also checked the route responses independently with curl. The Node regression fails on main and passes with the patch. It checks that the Run button is available after an error and that malformed responses and HTTP 500 still give a retry message.

🤖 Generated with Claude Code

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment