mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 04:00:42 +00:00
feat: add provider data keys for Cerebras, Databricks, NVIDIA, and RunPod
- added missing tests for Fireworks, Anthropic, Gemini, SambaNova, and vLLM
This commit is contained in:
parent
5d711d4bcb
commit
bb95c1a7c5
10 changed files with 125 additions and 8 deletions
|
|
@ -15,6 +15,8 @@ from .config import CerebrasImplConfig
|
|||
class CerebrasInferenceAdapter(OpenAIMixin):
|
||||
config: CerebrasImplConfig
|
||||
|
||||
provider_data_api_key_field: str = "cerebras_api_key"
|
||||
|
||||
def get_api_key(self) -> str:
|
||||
return self.config.api_key.get_secret_value()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue