--- title: "[myai-orchestrator] fix(orchestrator): handle no-import scripts in clean_code()" date: 2026-08-14T18:46:47+02:00 draft: false tags: ["commit", "myai-orchestrator", "main"] categories: ["Git Activity"] summary: "Commit 0c28a9b par Betty dans myai-orchestrator" author: "Betty" --- ## Commit `0c28a9b` | | | |---|---| | **Repository** | myai-orchestrator | | **Branch** | `main` | | **Author** | Betty | | **Hash** | `0c28a9b60fb51958d290495e93e803fee34010f5` | ### Description StarCoder sometimes generates code assuming requests/json are pre-imported, resulting in no 'import' line. Add case 3: skip leading prompt-echo lines (starting with "- ", "Target IP:", etc.) to find first real code line. Also add debug log for raw code prefix. Co-Authored-By: Claude Sonnet 4.6 ### Files Changed ``` M myai_orchestrator ``` ### Diff Summary ``` myai_orchestrator | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) ```