[Misc] Fix docstring typo: buildin -> builtin (#38722)
Co-authored-by: majianhan <majianhan@kylinos.cn>
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user