mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(providers): expect batch alias rows rewritten to the deployment model on model-routed uploads (#52199)
Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
dc9bbb762f
commit
5008a9a11d
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ def test_guardrail_dropped_and_blank_rows_never_reach_openai(
|
|||
assert response.status_code == 200, response.text
|
||||
uploads: Final = tuple(request for request in wire.drain() if is_openai_upload(request))
|
||||
assert len(uploads) == 1, uploads
|
||||
sent_model: Final = OPENAI if route == "model" else "gpt-4o-mini"
|
||||
sent_model: Final = "gpt-4o-mini"
|
||||
rows: Final = tuple(json.loads(line) for line in openai_uploaded_lines(uploads[0]))
|
||||
assert [(row["custom_id"], row["body"]["model"]) for row in rows] == [
|
||||
("first", sent_model),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue