feat(ai): integrate Llama 3.3 batch analysis for products grouped by nomenclature

This commit is contained in:
Michael committed 2026-02-21 20:27:08 +01:00
1 parent 09e00fbcdd
commit a07bad60b2
3 files changed
+244

No files matched your search

@@ -2,6 +2,8 @@
import { useGridStore } from "@/features/grid/store/use-grid-store";
import { BulkAiAnalyzer } from "./bulk-ai-analyzer";
function Stat({ label, value, sub }: { label: string; value: string; sub?: string }) {
// Determine color based on label to match the prototype
const valColor = label.includes("CA") || label.includes("Marge") ? "text-emerald-600 dark:text-emerald-400" : "text-slate-900 dark:text-white";
@@ -50,6 +52,8 @@ export function FloatingSummaryBar() {
</div>
<div className="flex space-x-3 items-center">
<BulkAiAnalyzer />
<button
onClick={async () => {
// Fetch the absolute latest state from the store at the moment of the click