update onboard naming for moltbot

This commit is contained in:
0xGingi committed 2026-01-28 16:29:25 -05:00
1 parent b81197c306
commit d5878f12f8
1 file changed
+2 -2
+2 -2
View File
@@ -345,7 +345,7 @@ export function applySyntheticConfig(cfg: MoltbotConfig): MoltbotConfig {
/**
* Apply NanoGPT provider configuration without changing the default model.
*/
export function applyNanoGptProviderConfig(cfg: ClawdbotConfig): ClawdbotConfig {
export function applyNanoGptProviderConfig(cfg: MoltbotConfig): MoltbotConfig {
const models = { ...cfg.agents?.defaults?.models };
models[NANOGPT_DEFAULT_MODEL_REF] = {
...models[NANOGPT_DEFAULT_MODEL_REF],
@@ -395,7 +395,7 @@ export function applyNanoGptProviderConfig(cfg: ClawdbotConfig): ClawdbotConfig
/**
* Apply NanoGPT provider configuration AND set NanoGPT as the default model.
*/
export function applyNanoGptConfig(cfg: ClawdbotConfig): ClawdbotConfig {
export function applyNanoGptConfig(cfg: MoltbotConfig): MoltbotConfig {
const next = applyNanoGptProviderConfig(cfg);
const existingModel = next.agents?.defaults?.model;
return {