Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

245 B
Raw Blame
const CHARS = 'abcdefghijklmnopqrstuvwxyz0123456789';
export function generateCreationId() {
    const random = Array.from({ length: 4 }, () => CHARS[Math.floor(Math.random() * CHARS.length)]).join('');
    return 'pin' + random + Date.now();
}