mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(azure.py): add response header coverage for azure models
This commit is contained in:
parent
87549a2391
commit
756a828c15
4 changed files with 62 additions and 42 deletions
|
@ -8157,7 +8157,7 @@ def exception_type(
|
|||
model=model,
|
||||
request=original_exception.request,
|
||||
)
|
||||
elif custom_llm_provider == "azure":
|
||||
elif custom_llm_provider == "azure" or custom_llm_provider == "azure_text":
|
||||
message = get_error_message(error_obj=original_exception)
|
||||
if message is None:
|
||||
if hasattr(original_exception, "message"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue