Feat: Display a separate chat multi-model comparison page #3221 (#9461)

### What problem does this PR solve?
Feat: Display a separate chat multi-model comparison page #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-08-14 09:39:20 +08:00
committed by GitHub
parent 98b4c67292
commit 434b55be70
7 changed files with 173 additions and 53 deletions

View File

@ -96,3 +96,22 @@ export function LargeModelFormField() {
</>
);
}
export function LargeModelFormFieldWithoutFilter() {
const form = useFormContext();
return (
<FormField
control={form.control}
name="llm_id"
render={({ field }) => (
<FormItem>
<FormControl>
<NextLLMSelect {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
);
}

View File

@ -78,7 +78,6 @@ export function LlmSettingFieldItems({
<FormLabel>{t('model')}</FormLabel>
<FormControl>
<SelectWithSearch
allowClear
options={options || modelOptions}
{...field}
></SelectWithSearch>