mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-19 18:52:32 +02:00
add help banner to providers and virtual api keys
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import AiProvidersBanner from "@app/components/AiProvidersBanner";
|
||||
import AiProvidersTable from "@app/components/AiProvidersTable";
|
||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||
import { internal } from "@app/lib/api";
|
||||
@@ -49,6 +50,8 @@ export default async function AiProvidersPage({ params, searchParams }: Props) {
|
||||
description={t("aiProvidersDescription")}
|
||||
/>
|
||||
|
||||
<AiProvidersBanner />
|
||||
|
||||
<AiProvidersTable
|
||||
orgId={orgId}
|
||||
providers={providers.map((provider) => ({
|
||||
|
||||
@@ -6,6 +6,7 @@ import { redirect } from "next/navigation";
|
||||
import { cache } from "react";
|
||||
import { GetOrgResponse } from "@server/routers/org";
|
||||
import OrgProvider from "@app/providers/OrgProvider";
|
||||
import VirtualApiKeysBanner from "@app/components/VirtualApiKeysBanner";
|
||||
import VirtualApiKeysTable, {
|
||||
type VirtualApiKeyRow
|
||||
} from "@app/components/VirtualApiKeysTable";
|
||||
@@ -142,6 +143,8 @@ export default async function VirtualApiKeysPage(
|
||||
description={t("virtualApiKeysDescription")}
|
||||
/>
|
||||
|
||||
<VirtualApiKeysBanner orgId={params.orgId} />
|
||||
|
||||
<OrgProvider org={org}>
|
||||
<VirtualApiKeysTable
|
||||
virtualApiKeys={rows}
|
||||
|
||||
Reference in New Issue
Block a user