mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 18:08:10 +00:00
20 lines
548 B
TypeScript
20 lines
548 B
TypeScript
// Microsoft Foundry plugin module implements shared runtime behavior.
|
|
export {
|
|
TOKEN_REFRESH_MARGIN_MS,
|
|
buildFoundryProviderBaseUrl,
|
|
extractFoundryEndpoint,
|
|
FOUNDRY_ANTHROPIC_SCOPE,
|
|
isFoundryProviderApi,
|
|
resolveConfiguredModelNameHint,
|
|
ANTHROPIC_MESSAGES_API,
|
|
type CachedTokenEntry,
|
|
} from "./shared.js";
|
|
|
|
export function getFoundryTokenCacheKey(params?: {
|
|
scope?: string;
|
|
subscriptionId?: string;
|
|
tenantId?: string;
|
|
}): string {
|
|
return `${params?.scope ?? ""}:${params?.subscriptionId ?? ""}:${params?.tenantId ?? ""}`;
|
|
}
|