llama_toolchain/distribution -> llama_toolchain/core

This commit is contained in:
Ashwin Bharambe 2024-08-28 17:39:41 -07:00
parent 81540e6ce8
commit 3cb67f1f58
31 changed files with 49 additions and 45 deletions

View file

@ -4,7 +4,7 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from llama_toolchain.distribution.datatypes import RemoteProviderConfig
from llama_toolchain.core.datatypes import RemoteProviderConfig
async def get_adapter_impl(config: RemoteProviderConfig, _deps):

View file

@ -13,7 +13,7 @@ import httpx
from pydantic import BaseModel
from termcolor import cprint
from llama_toolchain.distribution.datatypes import RemoteProviderConfig
from llama_toolchain.core.datatypes import RemoteProviderConfig
from .api import (
ChatCompletionRequest,

View file

@ -6,7 +6,7 @@
from typing import List
from llama_toolchain.distribution.datatypes import * # noqa: F403
from llama_toolchain.core.datatypes import * # noqa: F403
def available_inference_providers() -> List[ProviderSpec]: