fix together inference validator

This commit is contained in:
Xi Yan 2024-11-07 11:27:21 -08:00
parent 31c5fbda5e
commit a982f21556
2 changed files with 7 additions and 1 deletions

View file

@ -4,9 +4,15 @@
# 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 TogetherImplConfig
class TogetherProviderDataValidator(BaseModel):
together_api_key: str
async def get_adapter_impl(config: TogetherImplConfig, _deps):
from .together import TogetherInferenceAdapter