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
This commit is contained in:
2025-12-19 13:20:30 +01:00
parent 74916aec73
commit 14e7759cf9

View File

@@ -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) {