Skip to content

A programming framework for agentic AI

Fix sha256_hash docstring (#6236)

Michael Scovettaa024790c5b82
diff --git a/python/packages/autogen-studio/autogenstudio/utils/utils.py b/python/packages/autogen-studio/autogenstudio/utils/utils.py
index 053e0fcc4..eb5fc5ab5 100644
--- a/python/packages/autogen-studio/autogenstudio/utils/utils.py
+++ b/python/packages/autogen-studio/autogenstudio/utils/utils.py
@@ -15,10 +15,10 @@ from ..version import APP_NAME
def sha256_hash(text: str) -> str:
"""
- Compute the MD5 hash of a given text.
+ Compute the SHA-256 hash of a given text.
:param text: The string to hash
- :return: The MD5 hash of the text
+ :return: The SHA-256 hash of the text, hex-encoded.
"""
return hashlib.sha256(text.encode()).hexdigest()