Skip to content

Commit a2ad7e4

Browse files
Update comment
1 parent 75f0b81 commit a2ad7e4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mcp_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121
DEFAULT_MCP_CLIENT_SESSION_TIMEOUT = 120
2222

2323
# The openai API complains if the name of a tool is longer than 64
24-
# chars. But we're encouraging people to use long descriptive
25-
# filekeys to avoid accidental collisions, so it's very easy to go
26-
# over the limit. So this function converts a name to a 12 character
27-
# hash.
24+
# chars. But it's easy to go over the limit if the yaml file is in a
25+
# nested sub-directory, so this function converts a name to a 12
26+
# character hash.
2827
def compress_name(name):
2928
m = hashlib.sha256()
3029
m.update(name.encode('utf-8'))

0 commit comments

Comments
 (0)