mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-14 00:09:55 +02:00
send, process, store, display virtual api key ai information in usage and sessions
This commit is contained in:
@@ -179,6 +179,7 @@ export async function proxyAiGatewayToSiteTarget(
|
||||
siteResourceId: number | null;
|
||||
requestedModel: string | undefined;
|
||||
budgets: AiBudget[];
|
||||
virtualApiKeyId: string | null;
|
||||
}
|
||||
): Promise<void> {
|
||||
const providerTargets = await getProviderTargets(provider.providerId);
|
||||
@@ -319,6 +320,7 @@ export async function proxyAiGatewayToSiteTarget(
|
||||
resourceId: ctx.resourceId,
|
||||
siteResourceId: ctx.siteResourceId,
|
||||
requestUserId: requestUser?.userId ?? null,
|
||||
virtualApiKeyId: ctx.virtualApiKeyId,
|
||||
budgets: ctx.budgets
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user