Return a short deterministic hash of skill content (for caching).
(content: str)
| 24 | |
| 25 | |
| 26 | def skill_hash(content: str) -> str: |
| 27 | """Return a short deterministic hash of skill content (for caching).""" |
| 28 | return hashlib.sha256(content.encode()).hexdigest()[:16] |
no outgoing calls