984 B
984 B
title, date, draft, tags, categories, summary, author
| title | date | draft | tags | categories | summary | author | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| [myai-orchestrator] fix(orchestrator): handle no-import scripts in clean_code() | 2026-08-14T18:46:47+02:00 | false |
|
|
Commit 0c28a9b par Betty dans myai-orchestrator | 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 noreply@anthropic.com
Files Changed
M myai_orchestrator
Diff Summary
myai_orchestrator | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)