Skip to content

Conversation

@zigzagcai
Copy link
Contributor

@zigzagcai zigzagcai commented Sep 1, 2025

We found if we enable prompt logging via config, the log_prompts can not work properly in checkpoint folder.

database:
  log_prompts: true  # Default is true, so prompts are logged automatically

And we found the program info just missing the prompts attribute, compared with the program info in database.db_path.

So, we enable saving prompts in the checkpoint folder, to make the program info identical between checkpoint output folder and database folder, finally make it capable of generating traces for reinforcement learning from checkpoint folder.

Related issue: #210 (comment)

@CLAassistant
Copy link

CLAassistant commented Sep 1, 2025

CLA assistant check
All committers have signed the CLA.

@zigzagcai zigzagcai changed the title feat(trace): save prompts in the checkpoint output folder refine(trace): save prompts in the checkpoint output folder Sep 1, 2025
@codelion
Copy link
Member

codelion commented Sep 2, 2025

@zigzagcai if you can sign the CLA I can take a look at this PR and merge it.

@zigzagcai
Copy link
Contributor Author

@zigzagcai if you can sign the CLA I can take a look at this PR and merge it.

Hi @codelion ,

Thank you! I have signed the CLA now.

@codelion codelion merged commit 025f00b into algorithmicsuperintelligence:main Sep 3, 2025
2 checks passed
wangcheng0825 pushed a commit to wangcheng0825/openevolve that referenced this pull request Sep 15, 2025
…fine-trace

refine(trace): save prompts in the checkpoint output folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants