fix: bound idle evaluation model streams
This commit is contained in:
@@ -392,6 +392,12 @@ class EvaluationRuntimeTests(unittest.TestCase):
|
||||
'响应流意外中断',
|
||||
transient_model_error_message('IncompleteRead(199 bytes read)'),
|
||||
)
|
||||
self.assertIn(
|
||||
'响应流意外中断',
|
||||
transient_model_error_message(
|
||||
'Unable to reach local model backend: timed out'
|
||||
),
|
||||
)
|
||||
|
||||
def test_transient_model_failure_retries_before_validation(self) -> None:
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
|
||||
Reference in New Issue
Block a user