diff --git a/src/pages/api-keys/config/types.ts b/src/pages/api-keys/config/types.ts
index c4dabe5d..dd21ac82 100644
--- a/src/pages/api-keys/config/types.ts
+++ b/src/pages/api-keys/config/types.ts
@@ -9,6 +9,7 @@ export interface ListItem {
allowed_model_names: string[];
custom?: string;
scope?: string[];
+ is_custom?: boolean;
}
export interface FormData {
diff --git a/src/pages/api-keys/hooks/use-keys-columns.tsx b/src/pages/api-keys/hooks/use-keys-columns.tsx
index 09f4476d..f08e0cfd 100644
--- a/src/pages/api-keys/hooks/use-keys-columns.tsx
+++ b/src/pages/api-keys/hooks/use-keys-columns.tsx
@@ -62,18 +62,20 @@ const useModelsColumns = ({
{text}
-
- {intl.formatMessage({ id: 'playground.params.custom' })}
-
+ {record.is_custom && (
+
+ {intl.formatMessage({ id: 'playground.params.custom' })}
+
+ )}
)
},