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 lokyliu
Posted: Mar 23, 2026
default config MiniMax,but no use The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/loky/workspace/topic/AutoResearchClaw/researchclaw/pipeline/executor.py", line 268, in execute_stage result = executor( ^^^^^^^^^ File "/Users/loky/workspace/topic/AutoResearchClaw/researchclaw/pipeline/stage_impls/_code_generation.py", line 516, in _execute_code_generation _agent_result = _agent.generate( ^^^^^^^^^^^^^^^^ File "/Users/loky/workspace/topic/AutoResearchClaw/researchclaw/pipeline/code_agent.py", line 260, in generate best.files, review_rounds = self._phase4_review( ^^^^^^^^^^^^^^^^^^^^ File "/Users/loky/workspace/topic/AutoResearchClaw/researchclaw/pipeline/code_agent.py", line 1370, in _phase4_review fix_resp = self._chat(sys_prompt, fix_prompt, max_tokens=16384) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...
Other Comments / Reviews