Files
blog/content/posts/commits/2026-08-14-commit-0c28a9b.md
Betty e1a9573f1d
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 24s
post: commit 0c28a9b in myai-orchestrator
2026-08-14 18:46:48 +02:00

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
myai-orchestrator
main
Git Activity
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(-)