-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The LLM did not conform to the edit format. #154
Comments
erkinalp
added a commit
to erkinalp/AI-Scientist
that referenced
this issue
Dec 18, 2024
- Add retry limit and better error handling in extract_json_between_markers - Replace assert statements with try-catch blocks across all files - Add proper error messages and recovery mechanisms - Prevent infinite loops when JSON extraction fails Fixes SakanaAI#154 Co-Authored-By: Erkin Alp Güney <[email protected]>
erkinalp
added a commit
to erkinalp/AI-Scientist
that referenced
this issue
Dec 18, 2024
- Add retry limit and better error handling in extract_json_between_markers - Replace assert statements with try-catch blocks across all files - Add proper error messages and recovery mechanisms - Prevent infinite loops when JSON extraction fails Fixes SakanaAI#154 Co-Authored-By: Erkin Alp Güney <[email protected]>
erkinalp
added a commit
to erkinalp/AI-Scientist
that referenced
this issue
Dec 18, 2024
- Add MAX_JSON_RETRIES constant to limit retries - Enhance error messages in extract_json_between_markers - Implement retry limits in generate_ideas.py and perform_writeup.py - Prevent infinite loops when JSON extraction fails Fixes SakanaAI#154 Co-Authored-By: Erkin Alp Güney <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once this issue arises, the program will enter a loop:
The LLM did not conform to the edit format.
The text was updated successfully, but these errors were encountered: