codeflash-internal/django
Kevin Turcios 40def05997
fix: resolve language_version in testgen_repair endpoint (#2494)
## Summary
- The `/testgen_repair` endpoint was missed when `language_version`
support was added in #2488
- Clients that stopped sending `python_version`
(codeflash-ai/codeflash#1914) hit `400 - Python version is required`
- Adds `language_version` field and `resolve_python_version` validator
to `TestRepairSchema`, matching the pattern in
`OptimizeSchema`/`TestGenSchema`
- Replaces `python_version=data.python_version` with
`language_version=data.language_version` when constructing
`TestGenSchema` in the repair handler

## Test plan
- [ ] Deploy and verify testgen repair calls no longer return 400
- [ ] Verify old clients sending `python_version` still work (backward
compat via validator)
2026-03-27 17:12:53 -05:00
..
aiservice fix: resolve language_version in testgen_repair endpoint (#2494) 2026-03-27 17:12:53 -05:00
.dockerignore local setup (#1898) 2025-11-17 12:35:09 -08:00