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

This commit is contained in:
Matthew Farrellee 2025-09-06 13:03:56 -04:00
parent 47b640370e
commit 4746d83c71
2 changed files with 8 additions and 2 deletions

View file

@ -207,7 +207,7 @@ def available_providers() -> list[ProviderSpec]:
api=Api.inference,
adapter=AdapterSpec(
adapter_type="gemini",
pip_packages=["litellm"],
pip_packages=["litellm", "openai"],
module="llama_stack.providers.remote.inference.gemini",
config_class="llama_stack.providers.remote.inference.gemini.GeminiConfig",
provider_data_validator="llama_stack.providers.remote.inference.gemini.config.GeminiProviderDataValidator",