This seems like a bug, would otherwise be grateful if someone can explain why this is happening. To reproduce :
- Put ENUM options in the Structured Output schema.
- Save and click on ‘Get Code’. Here the options entered earlier do not get copied as one would expect.
- One needs to separately add the ENUM options in code.