## Summary - Fix `/optimize-line-profiler` endpoint rejecting Java/JS/TS requests with `"Invalid Python version"` error by moving `parse_python_version()` and Python syntax validation inside `if is_python:` block - Fix code extraction regex in Java and JS/TS line profiler optimizers to handle LLM responses with ```` ```java:FileName.java ```` format (optional `:filename` suffix) --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: HeshamHM28 <HeshamHM28@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aiservice | ||
| authapp | ||
| core | ||
| tests | ||
| .env.example | ||
| .pre-commit-config.yaml | ||
| CLAUDE.md | ||
| deploy | ||
| gunicorn.conf.py | ||
| manage.py | ||
| mypy_allowlist.txt | ||
| pyproject.toml | ||
| pytest.ini | ||
| README.md | ||
| runtests.py | ||
| start_gunicorn.sh | ||
| uv.lock | ||
| uvicorn_worker.py | ||
This is django-ninja project for the ai service. https://django-ninja.dev