mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
17 lines
454 B
TypeScript
17 lines
454 B
TypeScript
// Microsoft Foundry plugin module implements shared runtime behavior.
|
|
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 ?? ""}`;
|
|
}
|