chore: vllm params
This commit is contained in:
@@ -21,7 +21,7 @@ const HintInput: React.FC<HintInputProps> = (props) => {
|
||||
|
||||
const generateOptions = (context: string) => {
|
||||
if (!context) {
|
||||
setOptions([]);
|
||||
setOptions(sourceOptions || []);
|
||||
return;
|
||||
}
|
||||
const match = context.match(matchReg);
|
||||
|
||||
@@ -78,7 +78,6 @@ const ListInput: React.FC<ListInputProps> = (props) => {
|
||||
options={options}
|
||||
key={item.uid}
|
||||
value={item.value}
|
||||
label={`${index + 1}`}
|
||||
onRemove={() => handleOnRemove(index)}
|
||||
onChange={(val) => handleOnChange(val, index)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user