mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-20 22:40:58 +00:00
refactor: isolate provider sdk auth and model helpers
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { normalizeApiKeyInput, validateApiKeyInput } from "../commands/auth-choice.api-key.js";
|
||||
import { ensureApiKeyFromOptionEnvOrPrompt } from "../commands/auth-choice.apply-helpers.js";
|
||||
import { applyPrimaryModel } from "../commands/model-picker.js";
|
||||
import { applyAuthProfileConfig, buildApiKeyCredential } from "./provider-auth-helpers.js";
|
||||
import {
|
||||
ensureApiKeyFromOptionEnvOrPrompt,
|
||||
normalizeApiKeyInput,
|
||||
validateApiKeyInput,
|
||||
} from "./provider-auth-input.js";
|
||||
import { applyPrimaryModel } from "./provider-model-primary.js";
|
||||
|
||||
export {
|
||||
applyAuthProfileConfig,
|
||||
|
||||
Reference in New Issue
Block a user