Files
blog/content/posts/commits/2026-08-16-commit-a05967a.md
Betty 146c8bd44b
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 4m25s
post: commit a05967a in myai
2026-08-16 13:51:59 +02:00

1.0 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[myai] feat(codegen): inject bojemoi SDK context via vuln_type param 2026-08-16T13:51:54+02:00 false
commit
myai
main
Git Activity
Commit a05967a par Betty dans myai Betty

Commit a05967a

Repository myai
Branch main
Author Betty
Hash a05967a72cb3ea8b8fc3ec9d09da78ee6c94a9b6

Description

  • codegen.py: add vuln_type param to generate_code(), inject bojemoi context prefix from vuln_context.get_context() when SDK is available
  • main.py: add Optional[str] vuln_type field to GenerateRequest, pass it through to generate_code()
  • requirements.txt: add bojemoi-sdk from gitea as git dep

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

Files Changed

M	app/codegen.py
M	app/main.py
M	requirements.txt

Diff Summary

 app/codegen.py   | 12 ++++++++++--
 app/main.py      |  3 ++-
 requirements.txt |  1 +
 3 files changed, 13 insertions(+), 3 deletions(-)