feat(models): add anti_aging to IngredientFunction enum

Model was emitting "anti_aging" as a valid ingredient function
(e.g. for retinoids, peptides). Add it to the enum and the
parse-text system prompt allowed values.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Piotr Oleszczyk 2026-02-28 22:32:57 +01:00
parent a3753d0929
commit 794650afc6
2 changed files with 2 additions and 1 deletions

View file

@ -271,7 +271,7 @@ actives[].functions (array, pick applicable):
"humectant" | "emollient" | "occlusive" | "exfoliant_aha" | "exfoliant_bha" | \
"exfoliant_pha" | "retinoid" | "antioxidant" | "soothing" | "barrier_support" | \
"brightening" | "anti_acne" | "ceramide" | "niacinamide" | "sunscreen" | "peptide" | \
"hair_growth_stimulant" | "prebiotic" | "vitamin_c"
"hair_growth_stimulant" | "prebiotic" | "vitamin_c" | "anti_aging"
actives[].strength_level: 1 (low) | 2 (medium) | 3 (high)
actives[].irritation_potential: 1 (low) | 2 (medium) | 3 (high)

View file

@ -93,6 +93,7 @@ class IngredientFunction(str, Enum):
HAIR_GROWTH_STIMULANT = "hair_growth_stimulant"
PREBIOTIC = "prebiotic"
VITAMIN_C = "vitamin_c"
ANTI_AGING = "anti_aging"
class TextureType(str, Enum):