calorie-ai-android/web
Daniel 40e65ca70c Add diet history context to AI meal analysis on both platforms
- Web: buildTodayHistory() computes today's logged meals and passes them
  to requestMealEstimate so the AI can give personalized notes
- Web: system prompt updated to instruct AI to use notes field for
  dietary observations (macro balance, variety, goal progress)
- Android: same diet history + notes guidance already applied to MainActivity
- Tests: fix NutritionParserTest to use exact key names (proteinGrams,
  carbsGrams, fatGrams) matching the standardised AI prompt format

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 16:12:25 +02:00
..
public Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
src Add diet history context to AI meal analysis on both platforms 2026-05-20 16:12:25 +02:00
tests Refactor Android app to production grade with improved UI and sync 2026-05-20 05:32:01 +02:00
.dockerignore Add web auth and app navigation 2026-05-19 17:59:02 +02:00
.env.example Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
docker-compose.yml Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
Dockerfile Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
index.html Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
package-lock.json Update web plans and app capture 2026-05-20 00:48:52 +02:00
package.json Update web plans and app capture 2026-05-20 00:48:52 +02:00
playwright.config.js Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00
server.js Refactor Android app to production grade with improved UI and sync 2026-05-20 05:32:01 +02:00
vite.config.js Revamp web app with Svelte and Tailwind 2026-05-19 18:53:03 +02:00