From 14e7759cf981e9d243926881795d2ed11a0f0cc9 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 19 Dec 2025 13:20:30 +0100 Subject: [PATCH] feat: complete AI custom tag proposals integration - Fixed data fetching in TastingNoteForm to include suggested_custom_tags - Verified Nebius service compatibility with updated AI prompts - Cleaned up artifacts and implementation plan --- src/components/TastingNoteForm.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/TastingNoteForm.tsx b/src/components/TastingNoteForm.tsx index 1f88247..1abb351 100644 --- a/src/components/TastingNoteForm.tsx +++ b/src/components/TastingNoteForm.tsx @@ -47,13 +47,16 @@ export default function TastingNoteForm({ bottleId, sessionId }: TastingNoteForm // Fetch Bottle Suggestions const { data: bottleData } = await supabase .from('bottles') - .select('suggested_tags') + .select('suggested_tags, suggested_custom_tags') .eq('id', bottleId) .maybeSingle(); if (bottleData?.suggested_tags) { setSuggestedTags(bottleData.suggested_tags); } + if (bottleData?.suggested_custom_tags) { + setSuggestedCustomTags(bottleData.suggested_custom_tags); + } // If Session ID, fetch session participants and pre-select them if (effectiveSessionId) {