Files
blog/content/posts/commits/2026-08-14-commit-68b8299.md
Betty 6af1ec4dfe
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit 68b8299 in myai
2026-08-14 23:27:51 +02:00

836 B

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[myai] fix(codegen): remove stop_strings to prevent premature truncation of try blocks 2026-08-14T23:27:43+02:00 false
commit
myai
main
Git Activity
Commit 68b8299 par Betty dans myai Betty

Commit 68b8299

Repository myai
Branch main
Author Betty
Hash 68b8299b7d46d99f7475000d4366353b663f9e5e

Description

Stop strings \ndef and \nif name were interrupting code generation before except/finally clauses, producing invalid syntax. Let the model generate freely up to max_new_tokens instead.

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

Files Changed

M	app/codegen.py

Diff Summary

 app/codegen.py | 2 ++
 1 file changed, 2 insertions(+)