diff --git a/OAI/types/sampler_overrides.py b/OAI/types/sampler_overrides.py index c4b75d82..d0f9617b 100644 --- a/OAI/types/sampler_overrides.py +++ b/OAI/types/sampler_overrides.py @@ -12,7 +12,7 @@ class SamplerOverrideSwitchRequest(BaseModel): overrides: Optional[dict] = Field( default=None, description=( - "Sampling override parent takes in individual keys and overrides." + "Sampling override parent takes in individual keys and overrides. " + "Ignored if preset is provided." ), examples=[ diff --git a/common/logger.py b/common/logger.py index dd2ec9f1..f5961efe 100644 --- a/common/logger.py +++ b/common/logger.py @@ -58,12 +58,7 @@ def _log_formatter(record: dict) -> str: fmt = "" if len(lines) > 1: - fmt = "\n".join( - [ - f"{colored_level}{separator}{line}" - for line in lines - ] - ) + fmt = "\n".join([f"{colored_level}{separator}{line}" for line in lines]) else: fmt = f"{colored_level}{separator}{message}"