From 39d2730a02fbea0b531cd8403982f63cbea1f0ec Mon Sep 17 00:00:00 2001 From: Hakim Nizami Date: Sun, 22 Jun 2025 10:16:34 +0700 Subject: [PATCH] fix: switch to 2.5 --- lib/detectHate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/detectHate.ts b/lib/detectHate.ts index eeca490..0c9aa41 100644 --- a/lib/detectHate.ts +++ b/lib/detectHate.ts @@ -25,7 +25,7 @@ Input: `.trim(); const result = await generateText({ - model: google("gemini-2.0-flash"), + model: google("gemini-2.5-flash"), prompt, });