mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-13 22:20:58 +00:00
refactor(provider): formalize tool lookup contract
This commit is contained in:
committed by
huanghuoguoguo
parent
d347df02f6
commit
2de6d15d07
@@ -567,7 +567,7 @@ class MCPLoader(loader.ToolLoader):
|
||||
return True
|
||||
return False
|
||||
|
||||
async def _get_tool(self, name: str) -> resource_tool.LLMTool | None:
|
||||
async def get_tool(self, name: str) -> resource_tool.LLMTool | None:
|
||||
"""Get tool by name.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user