This commit is contained in:
Timothy J. Baek
2024-09-30 01:00:13 +02:00
parent 3899405864
commit 1c4b6b9cd9
2 changed files with 14 additions and 11 deletions

View File

@@ -90,6 +90,10 @@ class ERROR_MESSAGES(str, Enum):
"The Ollama API is disabled. Please enable it to use this feature."
)
FILE_TOO_LARGE = (
lambda size="": f"Oops! The file you're trying to upload is too large. Please upload a file that is less than {size}."
)
class TASKS(str, Enum):
def __str__(self) -> str: