feat: Switch to Mistral Large 3 (mistral-large-latest)

This commit is contained in:
2025-12-19 21:59:51 +01:00
parent 25b1378794
commit 2601a8f12f
6 changed files with 19 additions and 19 deletions

View File

@@ -65,7 +65,7 @@ export default function CameraCapture({ onImageCaptured, onAnalysisComplete, onS
const [isDiscovering, setIsDiscovering] = useState(false);
const [originalFile, setOriginalFile] = useState<File | null>(null);
const [isAdmin, setIsAdmin] = useState(false);
const [aiProvider, setAiProvider] = useState<'gemini' | 'pixtral'>('gemini');
const [aiProvider, setAiProvider] = useState<'gemini' | 'mistral'>('gemini');
React.useEffect(() => {
const checkAdmin = async () => {
@@ -364,10 +364,10 @@ export default function CameraCapture({ onImageCaptured, onAnalysisComplete, onS
Gemini
</button>
<button
onClick={() => setAiProvider('pixtral')}
className={`px-3 py-1 text-[10px] font-black uppercase tracking-widest rounded-lg transition-all ${aiProvider === 'pixtral' ? 'bg-white dark:bg-zinc-700 text-amber-600 shadow-sm' : 'text-zinc-400'}`}
onClick={() => setAiProvider('mistral')}
className={`px-3 py-1 text-[10px] font-black uppercase tracking-widest rounded-lg transition-all ${aiProvider === 'mistral' ? 'bg-white dark:bg-zinc-700 text-amber-600 shadow-sm' : 'text-zinc-400'}`}
>
Pixtral 🇪🇺
Mistral 3 🇪🇺
</button>
</div>
)}