mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
5 lines
195 B
Python
5 lines
195 B
Python
class GenAIDisabledException(Exception):
|
|
def __init__(self, message: str = "Generative AI has been turned off") -> None:
|
|
self.message = message
|
|
super().__init__(self.message)
|