Adding some more insights for failure in Azure OpenAI calls
This commit is contained in:
@@ -133,7 +133,7 @@ class AzureOpenAIProvider(LLMProvider):
|
||||
|
||||
except Exception as e:
|
||||
return LLMResponse(
|
||||
content=f"Error calling Azure OpenAI: {str(e)}",
|
||||
content=f"Error calling Azure OpenAI: {repr(e)}",
|
||||
finish_reason="error",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user