post: commit a05967a in myai
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 4m25s
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 4m25s
This commit is contained in:
46
content/posts/commits/2026-08-16-commit-a05967a.md
Normal file
46
content/posts/commits/2026-08-16-commit-a05967a.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: "[myai] feat(codegen): inject bojemoi SDK context via vuln_type param"
|
||||||
|
date: 2026-08-16T13:51:54+02:00
|
||||||
|
draft: false
|
||||||
|
tags: ["commit", "myai", "main"]
|
||||||
|
categories: ["Git Activity"]
|
||||||
|
summary: "Commit a05967a par Betty dans myai"
|
||||||
|
author: "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(-)
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user