Update index.jsx (#1794)

Max. number of context snippets increased from 12 to 200. 
TODO: May remove restraint entirely
This commit is contained in:
apstrom 2024-07-01 19:39:59 -04:00 committed by GitHub
parent 245d1b878e
commit b105c6c969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ export default function MaxContextSnippets({ workspace, setHasChanges }) {
name="topN" name="topN"
type="number" type="number"
min={1} min={1}
max={12} max={200}
step={1} step={1}
onWheel={(e) => e.target.blur()} onWheel={(e) => e.target.blur()}
defaultValue={workspace?.topN ?? 4} defaultValue={workspace?.topN ?? 4}