Handle stringified Gradio JSON bodies

#39
OpenHands org

Add a narrow ASGI wrapper for /gradio_api POST requests that unwraps JSON bodies double-encoded by the index.openhands.dev custom-domain proxy. This preserves direct HF Space behavior while preventing proxied callbacks from failing FastAPI validation with 422 and surfacing as Gradio connection errors.

Follow-up to OpenHands/openhands-index-results#1227.

juan-all-hands changed pull request status to merged

Sign up or log in to comment