This commit is contained in:
Dinesh Yeduguru 2024-12-13 12:09:12 -08:00
parent b7a7caa9a8
commit e65a6fac9d
7 changed files with 135 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from .meta_reference import * # noqa: F401 F403

View file

@ -0,0 +1,11 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from pydantic import BaseModel
class MetaReferenceToolConfig(BaseModel):
pass

View file

@ -0,0 +1,17 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from llama_stack.apis.tools import Tool, Tools
from .config import MetaReferenceToolConfig
class MetaReferenceTool(Tools):
def __init__(self, config: MetaReferenceToolConfig):
self.config = config
async def register_tool(self, tool: Tool):
pass