Skip to content

Commit e0744d1

Browse files
deafult dropdown value to be openAI
1 parent 4c54e2a commit e0744d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/Dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const LlmDropdown: React.FC<DropdownProps> = ({ onSelect, isDisabled }) => {
55
const handleChange = (selectedOption: OptionType | null | void) => {
66
onSelect(selectedOption);
77
};
8-
const allOptions = ['Diffbot', 'OpenAI GPT 3.5'];
8+
const allOptions = ['OpenAI GPT 3.5','Diffbot'];
99
return (
1010
<>
1111
<div style={{ width: '150px' }}>
@@ -16,7 +16,7 @@ const LlmDropdown: React.FC<DropdownProps> = ({ onSelect, isDisabled }) => {
1616
onChange: handleChange,
1717
options: allOptions.map((option) => ({ label: option, value: option })),
1818
placeholder: 'Select Model',
19-
defaultValue: { label: 'Diffbot', value: 'Diffbot' },
19+
defaultValue: { label: 'OpenAI GPT 3.5', value: 'OpenAI GPT 3.5' },
2020
menuPlacement: 'auto',
2121
isDisabled,
2222
}}

0 commit comments

Comments
 (0)