From e11d80b28547ab7dd7a9b76d381192c91b95edcb Mon Sep 17 00:00:00 2001 From: TerminalMan <84923604+SecretiveShell@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:32:41 +0100 Subject: [PATCH] fix missing rename --- endpoints/core/types/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints/core/types/model.py b/endpoints/core/types/model.py index f2560b3e..dc5da0da 100644 --- a/endpoints/core/types/model.py +++ b/endpoints/core/types/model.py @@ -4,7 +4,7 @@ from time import time from typing import List, Literal, Optional, Union -from common.config_models import logging_config_model +from common.config_models import LoggingConfig from common.tabby_config import config from common.utils import unwrap @@ -34,7 +34,7 @@ class ModelCard(BaseModel): object: str = "model" created: int = Field(default_factory=lambda: int(time())) owned_by: str = "tabbyAPI" - logging: Optional[logging_config_model] = None + logging: Optional[LoggingConfig] = None parameters: Optional[ModelCardParameters] = None