cba50489bea8d0f0e64de8805a38b5d52335d085
buildRecipePrompt ignored req.Lang entirely and hardcoded two English instructions in the prompt. Added targetLang resolution using the existing langNames map (from recognition.go) and threaded it into both "Generate N recipes in …" and "All text fields … MUST be in …" instructions. The image_query field remains English since it is passed to the Pexels photo API. Fixes recommendations and menu recipes being returned in English regardless of the Accept-Language header. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
FoodAI — мобильное приложение, которое помогает пользователю управлять своим питанием: планировать меню, вести учёт калорий и контролировать запасы продуктов. Ключевая особенность — использование камеры телефона для распознавания продуктов, чеков и готовых блюд с автоматическим подсчётом калорий и подбором рецептов.
Languages
Dart
58.1%
Go
38.9%
PLpgSQL
2.6%
Makefile
0.2%
HTML
0.1%