S5: onboarding → minne + smaksignaler (user_stated)

This commit is contained in:
Sven (AAMOS AI)
2026-08-11 04:43:43 +07:00
parent 1e18146665
commit f86a37dd33
26 changed files with 10812 additions and 2 deletions
+15
View File
@@ -320,6 +320,21 @@ export function renderMemorySummary(
if (typeof v.spicePreference === "string") {
return `Spice preference: ${String(v.spicePreference)}`;
}
if (typeof v.goal === "string") {
return `Goal: ${String(v.goal)}`;
}
if (typeof v.primaryGoal === "string") {
return `Primary goal: ${String(v.primaryGoal)}`;
}
if (typeof v.allergen === "string") {
return `Allergy: ${String(v.allergen)}`;
}
if (typeof v.avoidIngredientId === "string") {
return `Avoids ingredient: ${String(v.avoidIngredientId)}`;
}
if (typeof v.spiceLevelMax === "number") {
return `Max spice level: ${v.spiceLevelMax}`;
}
}
return item.summarySv;
}