feat: add new folder

This commit is contained in:
Daniel
2026-03-30 20:49:40 +08:00
commit c7788fdd92
64 changed files with 19910 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
from datetime import datetime
from uuid import uuid4
def generate_id(prefix: str) -> str:
return f"{prefix}_{datetime.now().strftime('%Y%m%d%H%M%S')}_{uuid4().hex[:6]}"

View File

@@ -0,0 +1,5 @@
from pathlib import Path
def load_prompt(path: Path) -> str:
return path.read_text(encoding="utf-8")