MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / saveCharacterConfig

Function saveCharacterConfig

apps/webuiapps/src/lib/characterManager.ts:302–306  ·  view source on GitHub ↗
(config: CharacterConfig)

Source from the content-addressed store, hash-verified

300}
301
302export async function saveCharacterConfig(config: CharacterConfig): Promise<void> {
303 const col = loadCharacterCollectionSync() ?? DEFAULT_COLLECTION;
304 const updated = updateCharacter(col, config);
305 await saveCharacterCollection(updated);
306}
307
308// ---------------------------------------------------------------------------
309// Prompt helpers

Callers

nothing calls this directly

Calls 3

updateCharacterFunction · 0.85
saveCharacterCollectionFunction · 0.85

Tested by

no test coverage detected