fix: recover interrupted evaluation cases
This commit is contained in:
@@ -388,6 +388,10 @@ class EvaluationRuntimeTests(unittest.TestCase):
|
||||
'HTTP 429 from local model backend: Too many requests'
|
||||
),
|
||||
)
|
||||
self.assertIn(
|
||||
'响应流意外中断',
|
||||
transient_model_error_message('IncompleteRead(199 bytes read)'),
|
||||
)
|
||||
|
||||
def test_transient_model_failure_retries_before_validation(self) -> None:
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
|
||||
Reference in New Issue
Block a user