diff --git a/llama_stack/providers/remote/inference/gemini/__init__.py b/llama_stack/providers/remote/inference/gemini/__init__.py index 9d35da893..bda2f52d4 100644 --- a/llama_stack/providers/remote/inference/gemini/__init__.py +++ b/llama_stack/providers/remote/inference/gemini/__init__.py @@ -4,15 +4,9 @@ # This source code is licensed under the terms described in the LICENSE file in # the root directory of this source tree. -from pydantic import BaseModel - from .config import GeminiConfig -class GeminiProviderDataValidator(BaseModel): - gemini_api_key: str | None = None - - async def get_adapter_impl(config: GeminiConfig, _deps): from .gemini import GeminiInferenceAdapter diff --git a/llama_stack/providers/remote/inference/openai/__init__.py b/llama_stack/providers/remote/inference/openai/__init__.py index c245dbe10..bd3daeb9a 100644 --- a/llama_stack/providers/remote/inference/openai/__init__.py +++ b/llama_stack/providers/remote/inference/openai/__init__.py @@ -4,15 +4,9 @@ # This source code is licensed under the terms described in the LICENSE file in # the root directory of this source tree. -from pydantic import BaseModel - from .config import OpenAIConfig -class OpenAIProviderDataValidator(BaseModel): - openai_api_key: str | None = None - - async def get_adapter_impl(config: OpenAIConfig, _deps): from .openai import OpenAIInferenceAdapter