mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 11:29:46 +00:00
add model context protocol provider
This commit is contained in:
parent
dc21e14f64
commit
33af4f919f
8 changed files with 160 additions and 10 deletions
|
|
@ -393,3 +393,8 @@ class ToolRuntimeRouter(ToolRuntime):
|
|||
tool_id=tool_id,
|
||||
args=args,
|
||||
)
|
||||
|
||||
async def discover_tools(self, tool_group: ToolGroup) -> List[Tool]:
|
||||
return await self.routing_table.get_provider_impl(
|
||||
tool_group.name
|
||||
).discover_tools(tool_group)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue