mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-27 09:41:54 +00:00
Logging: Clarify preferences
Preferences are preferences, not a config. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -4,7 +4,7 @@ from typing import List, Optional
|
||||
|
||||
from pydantic import BaseModel, Field, ConfigDict
|
||||
|
||||
from gen_logging import LogConfig
|
||||
from gen_logging import LogPreferences
|
||||
|
||||
|
||||
class ModelCardParameters(BaseModel):
|
||||
@@ -28,7 +28,7 @@ class ModelCard(BaseModel):
|
||||
object: str = "model"
|
||||
created: int = Field(default_factory=lambda: int(time()))
|
||||
owned_by: str = "tabbyAPI"
|
||||
logging: Optional[LogConfig] = None
|
||||
logging: Optional[LogPreferences] = None
|
||||
parameters: Optional[ModelCardParameters] = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user