mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-20 04:18:41 +00:00
address feedback
This commit is contained in:
parent
72dab3e4bf
commit
ea0ca7454a
2 changed files with 17 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
from typing import Any, Dict
|
||||
|
||||
from llama_stack.apis.tools import InvokeToolResult, Tool, ToolRuntime
|
||||
from llama_stack.apis.tools import Tool, ToolInvocationResult, ToolRuntime
|
||||
from llama_stack.providers.datatypes import ToolsProtocolPrivate
|
||||
|
||||
from .config import MetaReferenceToolRuntimeConfig
|
||||
|
|
@ -26,5 +26,7 @@ class MetaReferenceToolRuntimeImpl(ToolsProtocolPrivate, ToolRuntime):
|
|||
async def unregister_tool(self, tool_id: str) -> None:
|
||||
pass
|
||||
|
||||
async def invoke_tool(self, tool_id: str, args: Dict[str, Any]) -> InvokeToolResult:
|
||||
async def invoke_tool(
|
||||
self, tool_id: str, args: Dict[str, Any]
|
||||
) -> ToolInvocationResult:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue