remove unused CreateBatchRequest, update completion_window to be literal "24h"

This commit is contained in:
Matthew Farrellee 2025-08-14 09:25:22 -04:00
parent 95a3ecdffc
commit 44263ce954
4 changed files with 7 additions and 18 deletions

View file

@ -379,9 +379,8 @@ class TestBatchesErrorHandling:
)
assert exc_info.value.status_code == 400
error_msg = str(exc_info.value).lower()
assert "invalid value" in error_msg
assert "error" in error_msg
assert "completion_window" in error_msg
assert "supported values are" in error_msg
def test_batch_streaming_not_supported(self, openai_client, batch_helper, text_model_id):
"""Test that streaming responses are not supported in batches."""