Skip to content

Commit

Permalink
add tools api with a stub provider impl
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshyv committed Dec 18, 2024
1 parent b7ad53c commit 744eb08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions llama_stack/apis/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ async def register_tool(
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,
Expand Down
2 changes: 1 addition & 1 deletion llama_stack/distribution/routers/routing_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
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
Expand Down

0 comments on commit 744eb08

Please sign in to comment.