The Python client sends raw source code, not markdown-wrapped blocks.
split_markdown_code() returned {} for raw input, making SearchAndReplaceDiff
have nothing to patch, so repairs always returned empty string.
Now falls back to {"file.py": raw_code} when markdown parsing yields nothing,
and is_valid() handles raw code blocks instead of only markdown-wrapped ones.
|
||
|---|---|---|
| .. | ||
| 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