mirror of https://github.com/openclaw/openclaw.git
22 lines
605 B
TypeScript
22 lines
605 B
TypeScript
import type { AuthChoice, OnboardOptions } from "./onboard-types.js";
|
|
|
|
type OnboardCoreAuthOptionKey = keyof Pick<OnboardOptions, "litellmApiKey">;
|
|
|
|
export type OnboardCoreAuthFlag = {
|
|
optionKey: OnboardCoreAuthOptionKey;
|
|
authChoice: AuthChoice;
|
|
cliFlag: `--${string}`;
|
|
cliOption: `--${string} <key>`;
|
|
description: string;
|
|
};
|
|
|
|
export const CORE_ONBOARD_AUTH_FLAGS: ReadonlyArray<OnboardCoreAuthFlag> = [
|
|
{
|
|
optionKey: "litellmApiKey",
|
|
authChoice: "litellm-api-key",
|
|
cliFlag: "--litellm-api-key",
|
|
cliOption: "--litellm-api-key <key>",
|
|
description: "LiteLLM API key",
|
|
},
|
|
];
|