Skip to content

Commit 1cbd6f7

Browse files
fix: Update webview-ui/src/components/settings/MaxContextWindowControl.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent c0dd359 commit 1cbd6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/settings/MaxContextWindowControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const MaxContextWindowControl = ({ value, onChange, maxValue = 1000000 }:
3535
setIsCustomMaxContextWindow(isChecked)
3636

3737
if (!isChecked) {
38-
setInputValue(null) // Unset the temperature, note that undefined is unserializable.
38+
setInputValue(null) // Unset the max context window, note that undefined is unserializable.
3939
} else {
4040
setInputValue(value ?? 0) // Use the value from apiConfiguration, if set.
4141
}

0 commit comments

Comments
 (0)