Skip to content

Missing "prompts" field in class Program cause issue when loading from checkpoint #88

@maisyhoang

Description

@maisyhoang

There is a field "prompts" in program_id.json that cause issue when loading from a checkpoint.
Here is one of the json file (search for the "prompts" field):

f170432e-eb4b-4e94-b045-c3745efacc49.json

Error:
Image

Place that error comes from: https://github.com/codelion/openevolve/blob/21aded7f0bd26524499974075deecca26e956757/openevolve/database.py#L412

It seems that I fixed the issue with this one liner, but not sure if it is correct:

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions