From ca2b1faa7216e53b8af818860cfef856bde9c09d Mon Sep 17 00:00:00 2001 From: Nyaru Toru <212608942+nyatoru@users.noreply.github.com> Date: Tue, 24 Feb 2026 21:30:29 +0700 Subject: [PATCH] docs: add comment for nodePrefix UUID fallback caveat Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/shared/components/ModelSelectModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/ModelSelectModal.tsx b/src/shared/components/ModelSelectModal.tsx index 3759113968..164914a622 100644 --- a/src/shared/components/ModelSelectModal.tsx +++ b/src/shared/components/ModelSelectModal.tsx @@ -149,7 +149,7 @@ export default function ModelSelectModal({ } else if (isCustomProvider) { const matchedNode = providerNodes.find((node) => node.id === providerId); const displayName = matchedNode?.name || providerInfo.name; - const nodePrefix = matchedNode?.prefix || providerId; + const nodePrefix = matchedNode?.prefix || providerId; // Consider a more user-friendly fallback if providerId is a UUID const nodeModels = Object.entries(modelAliases as Record) .filter(([, fullModel]: [string, string]) => fullModel.startsWith(`${providerId}/`))