From 1b09682685f54f29957163be9b9f9fc2de3b49cc Mon Sep 17 00:00:00 2001 From: MohamedBassem 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') 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\n", + /* context length */ 1024 /* The value here doesn't matter */, ).trim()}

Image Prompt

-- cgit v1.2.3-70-g09d2