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

Function loadCharacterConfigSync

apps/webuiapps/src/lib/characterManager.ts:297–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295}
296
297export function loadCharacterConfigSync(): CharacterConfig | null {
298 const col = loadCharacterCollectionSync();
299 return col ? getActiveCharacter(col) : null;
300}
301
302export async function saveCharacterConfig(config: CharacterConfig): Promise<void> {
303 const col = loadCharacterCollectionSync() ?? DEFAULT_COLLECTION;

Callers

nothing calls this directly

Calls 2

getActiveCharacterFunction · 0.85

Tested by

no test coverage detected