mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
add tools api with a stub provider impl
This commit is contained in:
parent
b7ad53ca93
commit
744eb0888c
2 changed files with 2 additions and 1 deletions
|
@ -61,6 +61,7 @@ class Tools(Protocol):
|
|||
parameters: List[ToolParameter],
|
||||
returns: ToolReturn,
|
||||
provider_id: Optional[str] = None,
|
||||
provider_id: Optional[str] = None,
|
||||
provider_resource_id: Optional[str] = None,
|
||||
provider_metadata: Optional[Dict[str, Any]] = None,
|
||||
tool_prompt_format: Optional[ToolPromptFormat] = None,
|
||||
|
|
|
@ -15,7 +15,7 @@ from llama_stack.apis.shields import * # noqa: F403
|
|||
from llama_stack.apis.memory_banks import * # noqa: F403
|
||||
from llama_stack.apis.datasets import * # noqa: F403
|
||||
from llama_stack.apis.eval_tasks import * # noqa: F403
|
||||
from llama_stack.apis.tools import * # noqa: F403
|
||||
from llama_stack.apis.tools import * # noqa: F403from llama_stack.apis.tools import * # noqa: F403
|
||||
from llama_stack.apis.common.content_types import URL
|
||||
|
||||
from llama_stack.apis.common.type_system import ParamType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue