mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-30 22:20:00 +00:00
Sambanova now using LiteLLM openai-compat, models and template updated
This commit is contained in:
parent
a9c5d3cd3d
commit
397eed9630
11 changed files with 138 additions and 365 deletions
|
|
@ -11,6 +11,13 @@ from pydantic import BaseModel, Field
|
|||
from llama_stack.schema_utils import json_schema_type
|
||||
|
||||
|
||||
class SambaNovaProviderDataValidator(BaseModel):
|
||||
sambanova_api_key: Optional[str] = Field(
|
||||
default=None,
|
||||
description="Sambanova Cloud API key",
|
||||
)
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class SambaNovaImplConfig(BaseModel):
|
||||
url: str = Field(
|
||||
|
|
@ -19,7 +26,7 @@ class SambaNovaImplConfig(BaseModel):
|
|||
)
|
||||
api_key: Optional[str] = Field(
|
||||
default=None,
|
||||
description="The SambaNova.ai API Key",
|
||||
description="The SambaNova cloud API Key",
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue