Spaces:
Sleeping
Sleeping
File size: 175 Bytes
ce45eb0 | 1 2 3 4 5 6 7 8 | """ID generation for context items."""
from __future__ import annotations
import uuid
def new_id(prefix: str = "ctx") -> str:
return f"{prefix}_{uuid.uuid4().hex[:12]}"
|