From dc6a78d00245c6d19bcd4aaa924ca8cb91e1e076 Mon Sep 17 00:00:00 2001 From: 0xGingi <0xgingi@0xgingi.com> Date: Fri, 30 Jan 2026 04:57:12 -0500 Subject: [PATCH] update to OpenClawConfig --- src/commands/onboard-auth.config-core.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/onboard-auth.config-core.ts b/src/commands/onboard-auth.config-core.ts index 77cbb23c8..6a35bbcd9 100644 --- a/src/commands/onboard-auth.config-core.ts +++ b/src/commands/onboard-auth.config-core.ts @@ -418,7 +418,7 @@ export function applyXiaomiConfig(cfg: OpenClawConfig): OpenClawConfig { /** * Apply NanoGPT provider configuration without changing the default model. */ -export function applyNanoGptProviderConfig(cfg: MoltbotConfig): MoltbotConfig { +export function applyNanoGptProviderConfig(cfg: OpenClawConfig): OpenClawConfig { const models = { ...cfg.agents?.defaults?.models }; models[NANOGPT_DEFAULT_MODEL_REF] = { ...models[NANOGPT_DEFAULT_MODEL_REF], @@ -468,7 +468,7 @@ export function applyNanoGptProviderConfig(cfg: MoltbotConfig): MoltbotConfig { /** * Apply NanoGPT provider configuration AND set NanoGPT as the default model. */ -export function applyNanoGptConfig(cfg: MoltbotConfig): MoltbotConfig { +export function applyNanoGptConfig(cfg: OpenClawConfig): OpenClawConfig { const next = applyNanoGptProviderConfig(cfg); const existingModel = next.agents?.defaults?.model; return {