mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-05 18:53:17 +02:00
Pass 2 showing the usage commands
This commit is contained in:
@@ -171,10 +171,6 @@ export default function UserVirtualApiKeys({
|
||||
orgId,
|
||||
initialData.userKey.virtualApiKeyId
|
||||
);
|
||||
const keyPreview = formatVirtualApiKeyPreview(
|
||||
initialData.userKey.virtualApiKeyId,
|
||||
initialData.userKey.lastChars
|
||||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -186,15 +182,6 @@ export default function UserVirtualApiKeys({
|
||||
resourceName={resourceName}
|
||||
/>
|
||||
|
||||
<AiClientConfigSection
|
||||
endpoint={t("aiClientConfigEndpointPlaceholder")}
|
||||
auth={{
|
||||
mode: "keyed",
|
||||
keyDisplay: keyPreview,
|
||||
getKeyText: getKeyCopyText
|
||||
}}
|
||||
/>
|
||||
|
||||
{initialData.manualKeys.length > 0 ? (
|
||||
<SettingsSection>
|
||||
<SettingsSectionHeader>
|
||||
@@ -227,6 +214,15 @@ export default function UserVirtualApiKeys({
|
||||
</SettingsSectionBody>
|
||||
</SettingsSection>
|
||||
) : null}
|
||||
|
||||
<AiClientConfigSection
|
||||
layout="wide"
|
||||
endpoint={t("aiClientConfigEndpointPlaceholder")}
|
||||
auth={{
|
||||
mode: "keyed",
|
||||
getKeyText: getKeyCopyText
|
||||
}}
|
||||
/>
|
||||
</SettingsContainer>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user