3 Commits

Author SHA1 Message Date
davide 3bdbcb29de docs: update .env.example to reflect all required env vars
All parameters are now required (no defaults in code), so .env.example
lists them all uncommented. Added NVIDIA_ENABLE_THINKING.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 19:16:34 +02:00
davide 78751f2c6d config: remove hardcoded defaults, add nvidia_enable_thinking setting
All LLM parameters must now be explicitly set in .env — no silent
fallbacks in code. Added nvidia_enable_thinking bool and wired it into
the chat completion extra_body instead of the previous hardcoded True.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 19:16:26 +02:00
davide 3d330655a6 add server: FastAPI + Docker
Python 3.11 + FastAPI con tre endpoint (/health, /auth/test, /recipes/generate).
Autenticazione via header X-App-Password, validazione input Pydantic,
chiamata in streaming a NVIDIA NIM (nemotron-3-ultra-550b-a55b) con thinking.
Dockerizzato con docker-compose; configurazione tramite .env.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 00:08:07 +02:00