ENUM options in Structured Output schema do not get auto-copied into code

This seems like a bug, would otherwise be grateful if someone can explain why this is happening. To reproduce :

  1. Put ENUM options in the Structured Output schema.

  1. Save and click on ‘Get Code’. Here the options entered earlier do not get copied as one would expect.
  2. One needs to separately add the ENUM options in code.

Hi @sid_mis, welcome to the forum.

Thanks for reporting the bug. By the way, did you check with cURL and JavaScript code? The enum option is being reflected, but it’s not showing up in the other SDKs.

I have escalated the issue to the team.

Thanks!