diff --git a/ui/app/settings/page.tsx b/ui/app/settings/page.tsx
index 37a2f6b..26cdbd6 100644
--- a/ui/app/settings/page.tsx
+++ b/ui/app/settings/page.tsx
@@ -116,7 +116,7 @@ const Page = () => {
const [contextWindowSize, setContextWindowSize] = useState(2048);
const [isCustomContextWindow, setIsCustomContextWindow] = useState(false);
const predefinedContextSizes = [
- 1024, 2048, 3072, 4096, 8192, 16384, 32768, 65536, 131072
+ 1024, 2048, 3072, 4096, 8192, 16384, 32768, 65536, 131072,
];
useEffect(() => {
@@ -178,9 +178,13 @@ const Page = () => {
setAutomaticVideoSearch(
localStorage.getItem('autoVideoSearch') === 'true',
);
- const storedContextWindow = parseInt(localStorage.getItem('ollamaContextWindow') ?? '2048');
+ const storedContextWindow = parseInt(
+ localStorage.getItem('ollamaContextWindow') ?? '2048',
+ );
setContextWindowSize(storedContextWindow);
- setIsCustomContextWindow(!predefinedContextSizes.includes(storedContextWindow));
+ setIsCustomContextWindow(
+ !predefinedContextSizes.includes(storedContextWindow),
+ );
setIsLoading(false);
};
@@ -566,7 +570,11 @@ const Page = () => {
Chat Context Window Size