chore: remove duplicate OpenAI and Gemini data validators

This commit is contained in:
Matthew Farrellee 2025-09-21 03:36:49 -04:00
parent 142a38db8b
commit 962385d9ae
2 changed files with 0 additions and 12 deletions

View file

@ -4,15 +4,9 @@
# This source code is licensed under the terms described in the LICENSE file in # This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree. # the root directory of this source tree.
from pydantic import BaseModel
from .config import GeminiConfig from .config import GeminiConfig
class GeminiProviderDataValidator(BaseModel):
gemini_api_key: str | None = None
async def get_adapter_impl(config: GeminiConfig, _deps): async def get_adapter_impl(config: GeminiConfig, _deps):
from .gemini import GeminiInferenceAdapter from .gemini import GeminiInferenceAdapter

View file

@ -4,15 +4,9 @@
# This source code is licensed under the terms described in the LICENSE file in # This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree. # the root directory of this source tree.
from pydantic import BaseModel
from .config import OpenAIConfig from .config import OpenAIConfig
class OpenAIProviderDataValidator(BaseModel):
openai_api_key: str | None = None
async def get_adapter_impl(config: OpenAIConfig, _deps): async def get_adapter_impl(config: OpenAIConfig, _deps):
from .openai import OpenAIInferenceAdapter from .openai import OpenAIInferenceAdapter