From 1b09682685f54f29957163be9b9f9fc2de3b49cc Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 12 Oct 2024 17:25:01 +0000
Subject: feature: Allow customizing the inference's context length

---
 apps/web/components/dashboard/settings/AISettings.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'apps/web/components/dashboard/settings/AISettings.tsx')

diff --git a/apps/web/components/dashboard/settings/AISettings.tsx b/apps/web/components/dashboard/settings/AISettings.tsx
index 12f656ba..0a8db147 100644
--- a/apps/web/components/dashboard/settings/AISettings.tsx
+++ b/apps/web/components/dashboard/settings/AISettings.tsx
@@ -291,6 +291,7 @@ export function PromptDemo() {
             .filter((p) => p.appliesTo == "text" || p.appliesTo == "all")
             .map((p) => p.text),
           "\n<CONTENT_HERE>\n",
+          /* context length */ 1024 /* The value here doesn't matter */,
         ).trim()}
       </code>
       <p>Image Prompt</p>
-- 
cgit v1.2.3-70-g09d2

