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

Function loadCharacterConfig

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

Source from the content-addressed store, hash-verified

290// ---------------------------------------------------------------------------
291
292export async function loadCharacterConfig(): Promise<CharacterConfig | null> {
293 const col = await loadCharacterCollection();
294 return col ? getActiveCharacter(col) : null;
295}
296
297export function loadCharacterConfigSync(): CharacterConfig | null {
298 const col = loadCharacterCollectionSync();

Callers

nothing calls this directly

Calls 2

loadCharacterCollectionFunction · 0.85
getActiveCharacterFunction · 0.85

Tested by

no test coverage detected