mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 02:42:24 +00:00
chore: Enabling teste for Weaviate and some minor changes
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
266e2afb9c
commit
01d90eb8ab
17 changed files with 216 additions and 103 deletions
|
|
@ -15,6 +15,7 @@ from pathlib import Path
|
|||
|
||||
import fire
|
||||
|
||||
from llama_stack.apis.common.errors import ModelNotFoundError
|
||||
from llama_stack.models.llama.llama3.generation import Llama3
|
||||
from llama_stack.models.llama.llama4.generation import Llama4
|
||||
from llama_stack.models.llama.sku_list import resolve_model
|
||||
|
|
@ -34,7 +35,7 @@ def run_main(
|
|||
|
||||
llama_model = resolve_model(model_id)
|
||||
if not llama_model:
|
||||
raise ValueError(f"Model {model_id} not found")
|
||||
raise ModelNotFoundError(model_id)
|
||||
|
||||
cls = Llama4 if llama4 else Llama3
|
||||
generator = cls.build(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue