ROIpad ← Back to Search
github.com › issue comment

Comment on: Crash in CODE_GENERATION stage due to unsafe .format() on LLM-generated code with braces

Repo: aiming-lab/AutoResearchClaw by Jiaaqiliu
Posted: Mar 23, 2026
Thanks for the detailed report! This bug has been identified and fixed in `v0.3.2`. The `.format()` call has been replaced with f-strings throughout `_targeted_file_repair()`, so curly braces in LLM-generated code no longer cause `KeyError`. Please upgrade to the latest version to get the fix. Also @lokyliu — the timeout error you're seeing (`The read operation timed out`) is a separate issue, likely caused by network instability or the API endpoint being slow to respond. You can try increasing the timeout in your config, or check your network connection to the model provider.
Other Comments / Reviews