update onboard naming for moltbot
This commit is contained in:
parent
b81197c306
commit
d5878f12f8
@ -345,7 +345,7 @@ export function applySyntheticConfig(cfg: MoltbotConfig): MoltbotConfig {
|
|||||||
/**
|
/**
|
||||||
* Apply NanoGPT provider configuration without changing the default model.
|
* 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 };
|
const models = { ...cfg.agents?.defaults?.models };
|
||||||
models[NANOGPT_DEFAULT_MODEL_REF] = {
|
models[NANOGPT_DEFAULT_MODEL_REF] = {
|
||||||
...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.
|
* 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 next = applyNanoGptProviderConfig(cfg);
|
||||||
const existingModel = next.agents?.defaults?.model;
|
const existingModel = next.agents?.defaults?.model;
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user