mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-23 05:58:08 +00:00
19 lines
629 B
TypeScript
19 lines
629 B
TypeScript
// Runtime bridge for provider API-key auth configured by plugins.
|
|
import { applyAuthProfileConfig, buildApiKeyCredential } from "./provider-auth-helpers.js";
|
|
import {
|
|
ensureApiKeyFromOptionEnvOrPrompt,
|
|
normalizeApiKeyInput,
|
|
validateApiKeyInput,
|
|
} from "./provider-auth-input.js";
|
|
import { applyPrimaryModel } from "./provider-model-primary.js";
|
|
|
|
/** Runtime API-key auth helper bundle exposed to provider setup code. */
|
|
export const providerApiKeyAuthRuntime = {
|
|
applyAuthProfileConfig,
|
|
applyPrimaryModel,
|
|
buildApiKeyCredential,
|
|
ensureApiKeyFromOptionEnvOrPrompt,
|
|
normalizeApiKeyInput,
|
|
validateApiKeyInput,
|
|
};
|