Files
blog/content/posts/commits/2026-08-16-commit-cecb2d8.md
Betty 477e543dee
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 4m51s
post: commit cecb2d8 in myai
2026-08-16 14:53:16 +02:00

778 B

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[myai] refactor(codegen): put prompt as leading comment before context code 2026-08-16T14:53:11+02:00 false
commit
myai
main
Git Activity
Commit cecb2d8 par Betty dans myai Betty

Commit cecb2d8

Repository myai
Branch main
Author Betty
Hash cecb2d8a9c8954b035b28fac5fa61385b372ccf1

Description

Prompt is now: # {user prompt}\n{imports + open call} so the model sees the intent first, then code to continue.

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

Files Changed

M	app/codegen.py

Diff Summary

 app/codegen.py | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)