Skip to content
Snippets Groups Projects
Commit 38583445 authored by dwmorris11's avatar dwmorris11
Browse files

added from clause to the exception statement in

the __call__ method of the Zure class to make it more informative
parent d7421545
No related branches found
No related tags found
No related merge requests found
...@@ -58,4 +58,4 @@ class AzureOpenAILLM(BaseLLM): ...@@ -58,4 +58,4 @@ class AzureOpenAILLM(BaseLLM):
return output return output
except Exception as e: except Exception as e:
logger.error(f"LLM error: {e}") logger.error(f"LLM error: {e}")
raise Exception(f"LLM error: {e}") raise Exception(f"LLM error: {e}") from e
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment