47 lines
1.0 KiB
Markdown
47 lines
1.0 KiB
Markdown
---
|
|
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(-)
|
|
```
|