mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-05 14:00:59 +00:00
8 lines
214 B
Python
8 lines
214 B
Python
class ModelError(Exception):
|
|
"Models can raise this error, which will be displayed to the user"
|
|
pass
|
|
|
|
|
|
class NeedsKeyException(ModelError):
|
|
"Model needs an API key which has not been provided"
|
|
pass
|