llama-stack-mirror/llama_stack/apis/models/models.py
Ashwin Bharambe 76b354a081 Codemod from llama_toolchain -> llama_stack
- added providers/registry
- cleaned up api/ subdirectories and moved impls away
- restructured api/api.py
- from llama_stack.apis.<api> import foo should work now
- update imports to do llama_stack.apis.<api>
- update many other imports
- added __init__, fixed some registry imports
- updated registry imports
- create_agentic_system -> create_agent
- AgenticSystem -> Agent
2024-09-16 20:03:25 -07:00

14 lines
368 B
Python

# 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 typing import Protocol
from llama_models.schema_utils import webmethod # noqa: F401
from pydantic import BaseModel # noqa: F401
class Models(Protocol): ...