From 6af1ec4dfe038c47eeedf5cc65f1eacdbe61bf75 Mon Sep 17 00:00:00 2001 From: Betty Date: Fri, 14 Aug 2026 23:27:43 +0200 Subject: [PATCH] post: commit 68b8299 in myai --- .../commits/2026-08-14-commit-68b8299.md | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 content/posts/commits/2026-08-14-commit-68b8299.md diff --git a/content/posts/commits/2026-08-14-commit-68b8299.md b/content/posts/commits/2026-08-14-commit-68b8299.md new file mode 100644 index 0000000..ac360e5 --- /dev/null +++ b/content/posts/commits/2026-08-14-commit-68b8299.md @@ -0,0 +1,40 @@ +--- +title: "[myai] fix(codegen): remove stop_strings to prevent premature truncation of try blocks" +date: 2026-08-14T23:27:43+02:00 +draft: false +tags: ["commit", "myai", "main"] +categories: ["Git Activity"] +summary: "Commit 68b8299 par Betty dans myai" +author: "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 + +### Files Changed + +``` +M app/codegen.py +``` + +### Diff Summary + +``` + app/codegen.py | 2 ++ + 1 file changed, 2 insertions(+) +```