Unverified Commit 2f5c3c1e authored by majianhan's avatar majianhan Committed by GitHub
Browse files

[Misc] Fix docstring typo: buildin -> builtin (#38722)


Co-authored-by: default avatarmajianhan <majianhan@kylinos.cn>
parent fa246d52
...@@ -52,7 +52,7 @@ MCP_BUILTIN_TOOLS: set[str] = set(BUILTIN_TOOL_TO_MCP_SERVER_LABEL.values()) ...@@ -52,7 +52,7 @@ MCP_BUILTIN_TOOLS: set[str] = set(BUILTIN_TOOL_TO_MCP_SERVER_LABEL.values())
def has_custom_tools(tool_types: set[str]) -> bool: def has_custom_tools(tool_types: set[str]) -> bool:
""" """
Checks if the given tool types are custom tools Checks if the given tool types are custom tools
(i.e. any tool other than MCP buildin tools) (i.e. any tool other than MCP builtin tools)
""" """
return not tool_types.issubset(MCP_BUILTIN_TOOLS) return not tool_types.issubset(MCP_BUILTIN_TOOLS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment