Skip to content

Commit 38bd25b

Browse files
committed
fix type
1 parent 7480e20 commit 38bd25b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ const ApiOptions = ({
493493
/>
494494
<SeedControl
495495
value={apiConfiguration.modelSeed}
496-
onChange={handleInputChange("modelSeed", inputEventTransform)}
496+
onChange={handleInputChange("modelSeed", noTransform)}
497497
/>
498498
</>
499499
)}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const SeedControl = ({ value, onChange }: SeedControlProps) => {
6767
<div className="flex flex-col gap-3 pl-3 border-l-2 border-vscode-button-background">
6868
<div>
6969
<input
70-
type="text"
70+
type="number"
7171
value={inputValue}
7272
onChange={(e) => {
7373
handleInputChange(e as React.ChangeEvent<HTMLInputElement>)

0 commit comments

Comments
 (0)