Adding some more insights for failure in Azure OpenAI calls
This commit is contained in:
1 parent
33c52cfb74
commit
a8ce0a3084
1 file changed
+1
-1
@@ -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