Prompt & Model
Phantom · Django
The same API again, Django-idiomatic — the second opinion that proves the library is not shaped around one framework.
Written deliberately in Django's grain rather than as a transliteration of the Flask version: StreamingHttpResponse for SSE, a trimmed INSTALLED_APPS because the app has no models, and /v1 exempted from CSRF with a test that asserts the exemption holds — an SDK has no CSRF token, and without that test every client would one day start getting 403s. Two frameworks that disagree about as much as Flask and Django do is the real test of a shared library.
It consumes phantom-core, lab-languages — machinery that already existed, which is why this one took days rather than weeks.