From 4bfcef60f4d6fc2be979c84f4ee78e1cd48fcd31 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 4 Apr 2025 07:58:59 +1300 Subject: [PATCH] copy --- tests/basic/test_exceptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/basic/test_exceptions.py b/tests/basic/test_exceptions.py index 7a335133d..5f9c095f8 100644 --- a/tests/basic/test_exceptions.py +++ b/tests/basic/test_exceptions.py @@ -79,4 +79,6 @@ def test_openrouter_error(): ex_info = ex.get_ex_info(openrouter_error) assert ex_info.retry is True - assert "OpenRouter API provider is down" in ex_info.description + assert "OpenRouter" in ex_info.description + assert "overloaded" in ex_info.description + assert "rate" in ex_info.description