promptdojo_

Your /predict endpoint reads request["amount"] directly. A caller sends {} (no amount) and the service returns a 500 with a stack trace. What's the right fix at the endpoint?