mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-11 21:39:31 +02: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)
|