mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 18:13:44 +00:00
fix: rename llama_stack_api dir
the directory structure was src/llama-stack-api/llama_stack_api instead it should just be src/llama_stack_api to match the other packages. update the structure and pyproject/linting config Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
2441ca9389
commit
e1043c3bc8
274 changed files with 681 additions and 738 deletions
|
|
@ -12,9 +12,9 @@ import warnings
|
|||
from collections.abc import Generator
|
||||
|
||||
import pytest
|
||||
from llama_stack_api import ViolationLevel
|
||||
|
||||
from llama_stack.models.llama.sku_types import CoreModelId
|
||||
from llama_stack_api import ViolationLevel
|
||||
|
||||
# Llama Guard models available for text and vision shields
|
||||
LLAMA_GUARD_TEXT_MODELS = [CoreModelId.llama_guard_4_12b.value]
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ import base64
|
|||
import mimetypes
|
||||
|
||||
import pytest
|
||||
|
||||
from llama_stack_api import ViolationLevel
|
||||
|
||||
CODE_SCANNER_ENABLED_PROVIDERS = {"ollama", "together", "fireworks"}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import mimetypes
|
|||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
from llama_stack_api import ViolationLevel
|
||||
|
||||
VISION_SHIELD_ENABLED_PROVIDERS = {"together"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue