Commit a1f1eeb

Repositorymyai-orchestrator
Branchmain
AuthorBetty
Hasha1f1eeb136017425bcbd9cf0fb8b00feea4a5aff

Description

clean_code() was too aggressive, stripping valid Python code by tracking an in_code flag that could fail to trigger. New logic: extract from markdown fences (regex), then find first import/from line and take everything from there. Much simpler and more reliable.

MAX_NEW_TOKENS 128→256 to reduce truncation-induced SyntaxErrors.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

MMmsytaaic_ko/rmcyhaeis-torracthoerstrator.yml

Diff Summary

ms2ytaafici_klo/ermscyhaceihs-atonrrgacethdoe,rst1r6ationrs.eyrmtlions3(92+),25deletions(-)