fix: error handling

This commit is contained in:
Timothy J. Baek
2024-03-12 00:26:14 -07:00
parent e3fc97241d
commit be3ab88c88
2 changed files with 14 additions and 4 deletions

View File

@@ -52,3 +52,4 @@ class ERROR_MESSAGES(str, Enum):
MODEL_NOT_FOUND = lambda name="": f"Model '{name}' was not found"
OPENAI_NOT_FOUND = lambda name="": f"OpenAI API was not found"
OLLAMA_NOT_FOUND = "WebUI could not connect to Ollama"