model json schema fails with empty enum
model json schema fails with empty enum: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). When a field is annotated as an enum and that enum has no members then model json schema fails. MRE and traceback below. In pydantic v1 this produces {"title": "MyModel"…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.