mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
Merge 8582603040 into c40bdc475f
This commit is contained in:
commit
e7e77b8ae7
5 changed files with 0 additions and 12 deletions
|
|
@ -138,7 +138,6 @@ def test_ocr_unparseable_body_returns_400(
|
|||
|
||||
|
||||
def test_ocr_json_array_body_returns_400(gateway: Gateway) -> None:
|
||||
pytest.skip("BUG: a JSON array body answers 500 on every route, from the auth pre-checks; same on base")
|
||||
response: Final = _raw(gateway, "/v1/ocr", b"[1,2]", "application/json")
|
||||
assert invalid_request(response).get("param") == "request_body", response.text
|
||||
|
||||
|
|
|
|||
|
|
@ -450,10 +450,6 @@ def test_legacy_server_path_resolves_lists_groups_and_fails_closed_on_unknown_na
|
|||
|
||||
@pytest.mark.parametrize("client", ("raw-jsonrpc", "official-sdk"))
|
||||
def test_legacy_toolset_path_scopes_the_session_to_the_toolsets_tools(gateway: Gateway, client: str) -> None:
|
||||
pytest.skip(
|
||||
"BUG: a /{toolset}/mcp session lists every granted server's tools instead of the toolset's "
|
||||
"tools (the toolset's tool filter is not applied on the legacy path)"
|
||||
)
|
||||
open_before: Final = _open_aliases()
|
||||
with mcp_peer() as peer_a, mcp_peer() as peer_b, mcp_peer() as peer_c, gateway.scenario() as scenario:
|
||||
alias_a: Final = "rt2ta" + uuid.uuid4().hex[:10]
|
||||
|
|
|
|||
|
|
@ -283,7 +283,6 @@ def test_spend_log_records_the_single_slash_url_it_called(gateway: Gateway, trai
|
|||
|
||||
|
||||
def test_cache_hit_on_a_slash_base_skips_the_upstream_and_logs_its_own_row(gateway: Gateway) -> None:
|
||||
pytest.skip("BUG: a response-cache hit writes two cache_hit spend rows for one chat completion")
|
||||
marker: Final = new_marker()
|
||||
with wire_server(join_peer) as wire, gateway.scenario() as scenario:
|
||||
model: Final = _deploy(scenario, _ANTHROPIC, f"{wire.url}/an/")
|
||||
|
|
|
|||
|
|
@ -264,8 +264,6 @@ def test_azure_ai_claude_messages_filters_auto_injected_betas_by_azure_support(g
|
|||
|
||||
|
||||
def test_azure_ai_claude_messages_forwards_supported_beta(gateway: Gateway) -> None:
|
||||
pytest.skip(f"BUG: Azure AI Claude drops the supported beta header {_SUPPORTED_BETA}")
|
||||
|
||||
identity: Final = "msg_azure_claude_supported_beta"
|
||||
reply_body: Final = cc.message_reply(identity, _BACKEND, _CONTENT, _USAGE)
|
||||
request_body: Final = {
|
||||
|
|
|
|||
|
|
@ -750,10 +750,6 @@ def test_generate_content_adapts_anthropic_tool_loop_history_and_inline_image(ga
|
|||
|
||||
|
||||
def test_generate_content_adapter_keeps_camel_case_inline_data(gateway: Gateway) -> None:
|
||||
pytest.skip(
|
||||
"BUG: a camelCase inlineData part (the google-genai SDK wire spelling) is silently dropped on the completion-adapter path, the image never reaches the provider"
|
||||
)
|
||||
|
||||
def respond(request: Request) -> Reply:
|
||||
assert request.method == "POST"
|
||||
assert request.target == "/v1/chat/completions"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue