Honestly this code looks fine to me but I'm not totally sure. Maybe check the error handling?
There's no structured output here at all — just rambling prose that ignored the JSON instruction.
