diff --git a/src/listAPIs.tsx b/src/listAPIs.tsx index 14fb6f2..02fb81c 100644 --- a/src/listAPIs.tsx +++ b/src/listAPIs.tsx @@ -34,7 +34,23 @@ export function ListAPIs({ }: Props) { return ( - {label} + + {label}{" "} + + {tmps.find( + (t) => + chatStore[apiField as keyof ChatStore] === t.endpoint && + chatStore[keyField as keyof ChatStore] === t.key + )?.name && + `: ${ + tmps.find( + (t) => + chatStore[apiField as keyof ChatStore] === t.endpoint && + chatStore[keyField as keyof ChatStore] === t.key + )?.name + }`} + +