diff options
| author | MohamedBassem <me@mbassem.com> | 2024-10-12 17:25:01 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-10-12 17:37:42 +0000 |
| commit | 1b09682685f54f29957163be9b9f9fc2de3b49cc (patch) | |
| tree | 7f10a7635cf984acd45147c24ec3e1d35798e8ba /apps/web | |
| parent | c16173ea0fdbf6cc47b13756c0a77e8399669055 (diff) | |
| download | karakeep-1b09682685f54f29957163be9b9f9fc2de3b49cc.tar.zst | |
feature: Allow customizing the inference's context length
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/components/dashboard/settings/AISettings.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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> |
