mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-03 09:52:33 +00:00
Adding some more insights for failure in Azure OpenAI calls
This commit is contained in:
parent
33c52cfb74
commit
a8ce0a3084
@ -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",
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user