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

Function generateCharacterId

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

Source from the content-addressed store, hash-verified

55
56let _nextId = 1;
57export function generateCharacterId(): string {
58 return `char_${Date.now()}_${_nextId++}`;
59}
60
61export const DEFAULT_CHARACTER_ID = 'aoi';
62

Callers 1

handleAddFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected