mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-30 04:19:32 +00:00
updated the string to watsonx
This commit is contained in:
parent
6fe8b292b1
commit
2f498ad776
7 changed files with 16 additions and 16 deletions
|
|
@ -22,11 +22,11 @@ class WatsonXProviderDataValidator(BaseModel):
|
|||
class WatsonXConfig(BaseModel):
|
||||
url: str = Field(
|
||||
default_factory=lambda: os.getenv("WATSONX_BASE_URL", "https://us-south.ml.cloud.ibm.com"),
|
||||
description="A base url for accessing the Watsonx.ai",
|
||||
description="A base url for accessing the watsonx.ai",
|
||||
)
|
||||
api_key: Optional[SecretStr] = Field(
|
||||
default_factory=lambda: os.getenv("WATSONX_API_KEY"),
|
||||
description="The Watsonx API key, only needed of using the hosted service",
|
||||
description="The watsonx API key, only needed of using the hosted service",
|
||||
)
|
||||
project_id: Optional[str] = Field(
|
||||
default_factory=lambda: os.getenv("WATSONX_PROJECT_ID"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue