Download web/utils/thread.ts from oldg591/jannn: direct link, hf CLI and curl.
- Browser
- Download file 121 Bytes
-
https://huggingface.co/spaces/oldg591/jannn/resolve/main/web/utils/thread.ts
- Command line
-
hf download hf://spaces/oldg591/jannn/web/utils/thread.ts
-
curl -L -o thread.ts https://huggingface.co/spaces/oldg591/jannn/resolve/main/web/utils/thread.ts
121 Bytes
| export const generateThreadId = (assistantId: string) => { | |
| return `${assistantId}_${(Date.now() / 1000).toFixed(0)}` | |
| } | |