mirror of https://github.com/openclaw/openclaw.git
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
export {
|
|
TOKEN_REFRESH_MARGIN_MS,
|
|
buildFoundryProviderBaseUrl,
|
|
extractFoundryEndpoint,
|
|
isFoundryProviderApi,
|
|
resolveConfiguredModelNameHint,
|
|
type CachedTokenEntry,
|
|
} from "./shared.js";
|
|
|
|
export function getFoundryTokenCacheKey(params?: {
|
|
subscriptionId?: string;
|
|
tenantId?: string;
|
|
}): string {
|
|
return `${params?.subscriptionId ?? ""}:${params?.tenantId ?? ""}`;
|
|
}
|