Files
blog/content/posts/commits/2026-08-14-commit-e55d6b9.md
Betty f0f945fc58
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit e55d6b9 in myai
2026-08-14 23:28:31 +02:00

41 lines
836 B
Markdown

---
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 e55d6b9 par Betty dans myai"
author: "Betty"
---
## Commit `e55d6b9`
| | |
|---|---|
| **Repository** | myai |
| **Branch** | `main` |
| **Author** | Betty |
| **Hash** | `e55d6b947b9714a9f1d1a6c5db76a700beba55b7` |
### 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(+)
```