free mode

This commit is contained in:
zramsay 2025-01-14 14:49:43 -05:00
parent 5d21462726
commit 47e65218c2
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,2 @@
// src/config/freeMode.ts
export const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE
export const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true'

View File

@ -58,6 +58,7 @@ export async function analyzeImageWithVision(imageBuffer: Buffer): Promise<Visio
ANIMAL_LABELS.includes(label.description.toLowerCase())
)?.description || ''
// wtf Claude
const isAnimal = !!matchedLabel
// For mainObject, use the first/highest confidence label from Vision API