Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
Fix unit test after updating error message
Kunal Karmakar43022b171840
diff --git a/tests/test_azure_openai_provider.py b/tests/test_azure_openai_provider.pyindex df2cdc38c..680ddf43f 100644--- a/tests/test_azure_openai_provider.py+++ b/tests/test_azure_openai_provider.py@@ -291,7 +291,7 @@ async def test_chat_connection_error():result = await provider.chat(messages)assert isinstance(result, LLMResponse)- assert "Error calling Azure OpenAI: Connection failed" in result.content+ assert "Error calling Azure OpenAI: Exception('Connection failed')" in result.contentassert result.finish_reason == "error"