Why does my local LLM keep hallucinating API endpoints that
A developer reports that local 7B LLMs hallucinate invalid FastAPI code, such as deprecated imports and missing typing imports, and that a post-generation lint loop with ruff achieves ~85% first-try c…