fix(ai-ui): empty models list text

This commit is contained in:
Vyacheslav Scherbinin
2025-08-19 11:06:10 +07:00
parent 07c23292da
commit 220576fd63

View File

@@ -225,6 +225,12 @@ export const HandleAi = ({ aiId }: Props) => {
</span>
)}
{!isLoadingServerModels && !models?.length && (
<span className="text-sm text-muted-foreground">
No models available
</span>
)}
{!isLoadingServerModels && models && models.length > 0 && (
<FormField
control={form.control}