Skip to content

Commit

Permalink
fixed model onChange logic
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardcqian committed Oct 27, 2023
1 parent 90af72c commit 0866234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppConfig/Vector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function VectorConfig({ settings, secrets, secretsSet, onChange, onChange
data-testid={testIds.appConfig.model}
value={modelValues}
placeholder={""}
onChange={e => onChange({ ...settings, model: e.currentTarget.value })}
onChange={e => onChange({ ...settings.vector, model: e.currentTarget.value })}
/>
</Field>

Expand Down

0 comments on commit 0866234

Please sign in to comment.