From 142a38db8b45e76876eb4f143edff11432d165d6 Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Sat, 20 Sep 2025 19:09:27 -0400 Subject: [PATCH] chore: remove duplicate AnthropicProviderDataValidator (#3512) # What does this PR do? removes the duplicate AnthropicProviderDataValidator the active one is in config.py ## Test Plan ci --- .../providers/remote/inference/anthropic/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llama_stack/providers/remote/inference/anthropic/__init__.py b/llama_stack/providers/remote/inference/anthropic/__init__.py index 8b420a5a0..30d986808 100644 --- a/llama_stack/providers/remote/inference/anthropic/__init__.py +++ b/llama_stack/providers/remote/inference/anthropic/__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 AnthropicConfig -class AnthropicProviderDataValidator(BaseModel): - anthropic_api_key: str | None = None - - async def get_adapter_impl(config: AnthropicConfig, _deps): from .anthropic import AnthropicInferenceAdapter