From bb26c03141473c9437827ceb559d43041b149604 Mon Sep 17 00:00:00 2001
From: H0llyW00dzZ <priv8@btz.pm>
Date: Mon, 5 Feb 2024 13:44:46 +0700
Subject: [PATCH] Feat [UI/UX] [Constants] [Models] gemini-pro
 KnowledgeCutOffDate (#3997)

- [+] feat(constant.ts): add 'gemini-pro' to KnowledgeCutOffDate constant
---
 app/constant.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/constant.ts b/app/constant.ts
index 68d0e1395..f0e895ed9 100644
--- a/app/constant.ts
+++ b/app/constant.ts
@@ -111,6 +111,9 @@ export const KnowledgeCutOffDate: Record<string, string> = {
   "gpt-4-1106-preview": "2023-04",
   "gpt-4-0125-preview": "2023-04",
   "gpt-4-vision-preview": "2023-04",
+  // After improvements, 
+  // it's now easier to add "KnowledgeCutOffDate" instead of stupid hardcoding it, as was done previously.
+  "gemini-pro": "2023-12",
 };
 
 export const DEFAULT_MODELS = [