mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
chore: remove duplicate AnthropicProviderDataValidator
This commit is contained in:
parent
f44eb935c4
commit
f48e129880
1 changed files with 0 additions and 6 deletions
|
@ -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 AnthropicConfig
|
from .config import AnthropicConfig
|
||||||
|
|
||||||
|
|
||||||
class AnthropicProviderDataValidator(BaseModel):
|
|
||||||
anthropic_api_key: str | None = None
|
|
||||||
|
|
||||||
|
|
||||||
async def get_adapter_impl(config: AnthropicConfig, _deps):
|
async def get_adapter_impl(config: AnthropicConfig, _deps):
|
||||||
from .anthropic import AnthropicInferenceAdapter
|
from .anthropic import AnthropicInferenceAdapter
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue