chore: update the vertexai inference impl to use openai-python for openai-compat functions

This commit is contained in:
Matthew Farrellee 2025-09-08 13:16:53 -04:00
parent ef02b9ea10
commit f9296d2d91
2 changed files with 7 additions and 2 deletions

View file

@ -218,7 +218,7 @@ def available_providers() -> list[ProviderSpec]:
api=Api.inference,
adapter=AdapterSpec(
adapter_type="vertexai",
pip_packages=["litellm", "google-cloud-aiplatform"],
pip_packages=["litellm", "google-cloud-aiplatform", "openai"],
module="llama_stack.providers.remote.inference.vertexai",
config_class="llama_stack.providers.remote.inference.vertexai.VertexAIConfig",
provider_data_validator="llama_stack.providers.remote.inference.vertexai.config.VertexAIProviderDataValidator",