From dce89740fe44a423f6aa8631d66e65c4e138bd97 Mon Sep 17 00:00:00 2001 From: ayattara Date: Sat, 22 Aug 2026 06:56:46 +0000 Subject: [PATCH] fix(plugins): use unary profile filter --- apps/web/components/settings/plugins/plugin-config-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/settings/plugins/plugin-config-form.tsx b/apps/web/components/settings/plugins/plugin-config-form.tsx index b78ab835a9..f9a04d60ea 100644 --- a/apps/web/components/settings/plugins/plugin-config-form.tsx +++ b/apps/web/components/settings/plugins/plugin-config-form.tsx @@ -255,7 +255,7 @@ function AgentProfileSelect({ const profiles = useAppStore((state) => state.agentProfiles.items); const selectedID = typeof value === "string" ? value : ""; const selectedProfile = profiles.find((profile) => profile.id === selectedID); - const eligibleProfiles = profiles.filter(utilityProfileEligibility); + const eligibleProfiles = profiles.filter((profile) => utilityProfileEligibility(profile)); let selectedLabel: string | undefined; if (selectedProfile) { selectedLabel = selectedProfile.label || selectedProfile.agent_name || selectedProfile.id;