mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix: fix bugs in relative imports exposed due to dir move
This commit is contained in:
parent
55668d3c5b
commit
e5ec68f66e
2 changed files with 5 additions and 3 deletions
|
@ -9,14 +9,15 @@ import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from fixtures.recordable_mock import RecordableMock
|
|
||||||
from llama_stack_client import LlamaStackClient
|
from llama_stack_client import LlamaStackClient
|
||||||
from report import Report
|
|
||||||
|
|
||||||
from llama_stack import LlamaStackAsLibraryClient
|
from llama_stack import LlamaStackAsLibraryClient
|
||||||
from llama_stack.apis.datatypes import Api
|
from llama_stack.apis.datatypes import Api
|
||||||
from llama_stack.providers.tests.env import get_env_or_fail
|
from llama_stack.providers.tests.env import get_env_or_fail
|
||||||
|
|
||||||
|
from .fixtures.recordable_mock import RecordableMock
|
||||||
|
from .report import Report
|
||||||
|
|
||||||
|
|
||||||
def pytest_configure(config):
|
def pytest_configure(config):
|
||||||
config.option.tbstyle = "short"
|
config.option.tbstyle = "short"
|
||||||
|
|
|
@ -13,7 +13,6 @@ from typing import Optional
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from metadata import API_MAPS
|
|
||||||
from pytest import CollectReport
|
from pytest import CollectReport
|
||||||
from termcolor import cprint
|
from termcolor import cprint
|
||||||
|
|
||||||
|
@ -29,6 +28,8 @@ from llama_stack.models.llama.sku_list import (
|
||||||
from llama_stack.providers.datatypes import Api
|
from llama_stack.providers.datatypes import Api
|
||||||
from llama_stack.providers.tests.env import get_env_or_fail
|
from llama_stack.providers.tests.env import get_env_or_fail
|
||||||
|
|
||||||
|
from .metadata import API_MAPS
|
||||||
|
|
||||||
|
|
||||||
def featured_models():
|
def featured_models():
|
||||||
models = [
|
models = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue