aboutsummaryrefslogtreecommitdiff
path: root/gn3/llms
diff options
context:
space:
mode:
authorAlexander_Kabui2024-05-24 14:20:02 +0300
committerAlexander_Kabui2024-05-24 14:20:02 +0300
commitd9233e0a4811203e59161b635c33a7c1b753b3d8 (patch)
treebea5d223170674d5586f297bfd84021710d5ca05 /gn3/llms
parentef955f9b456a591f64faa428b8ef83252923bb63 (diff)
downloadgenenetwork3-d9233e0a4811203e59161b635c33a7c1b753b3d8.tar.gz
Remove redundant llm base class exception.
Diffstat (limited to 'gn3/llms')
-rw-r--r--gn3/llms/errors.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/gn3/llms/errors.py b/gn3/llms/errors.py
index 3512f4d..c5439d6 100644
--- a/gn3/llms/errors.py
+++ b/gn3/llms/errors.py
@@ -35,11 +35,7 @@ class UnprocessableEntity(HTTPError):
msg, request=request, response=response)
-class LLMErrorMIxins(Exception):
- """base class for llm errors"""
-
-
-class LLMError(LLMErrorMIxins):
+class LLMError(Exception):
"""custom exception for LLMErrorMIxins"""
def __init__(self, *args, **kwargs):
super().__init__(*args)