Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
let
_nextId = 1;
57
export
function
generateCharacterId(): string {
58
return
`char_${Date.now()}_${_nextId++}`;
59
}
60
61
export
const
DEFAULT_CHARACTER_ID =
'aoi'
;
62
Callers
1
handleAdd
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected