mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
test(messages): fix openai routing expectation
This commit is contained in:
parent
a3ed9a04f3
commit
c4f3bf837d
1 changed files with 3 additions and 3 deletions
|
|
@ -986,7 +986,7 @@ def test_gate_passthrough_skipped_when_only_chat_completions_supported(monkeypat
|
|||
model_info={"supported_endpoints": ["/v1/chat/completions"]},
|
||||
)
|
||||
|
||||
assert result == "chat-completions"
|
||||
assert translation_calls["responses"] == 0
|
||||
assert translation_calls["chat_completions"] == 1
|
||||
assert result == "responses"
|
||||
assert translation_calls["responses"] == 1
|
||||
assert translation_calls["chat_completions"] == 0
|
||||
assert "config" not in captured
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue