mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 02:49:49 +00:00
make TGI_API_TOKEN optional in fixture
This commit is contained in:
parent
7e6a11d17b
commit
b7b764f8c8
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ def inference_tgi() -> ProviderFixture:
|
||||||
provider_type="remote::tgi",
|
provider_type="remote::tgi",
|
||||||
config=TGIImplConfig(
|
config=TGIImplConfig(
|
||||||
url=get_env_or_fail("TGI_URL"),
|
url=get_env_or_fail("TGI_URL"),
|
||||||
api_token=get_env_or_fail("TGI_API_TOKEN"),
|
api_token=os.getenv("TGI_API_TOKEN", None),
|
||||||
).model_dump(),
|
).model_dump(),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue