mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(bedrock): expect client interleaved-thinking beta to reach Bedrock Invoke alongside the safeguards beta
This commit is contained in:
parent
8a4eb7b0f9
commit
17f8ca4260
1 changed files with 2 additions and 1 deletions
|
|
@ -1702,7 +1702,8 @@ async def test_anthropic_messages_forwards_safeguards_and_dangerous_tool_use_bet
|
|||
)
|
||||
|
||||
assert captured["body"]["safeguards"] == safeguards
|
||||
assert captured["body"]["anthropic_beta"] == ["dangerous-tool-use-2026-09-03"]
|
||||
client_betas = set(filter(None, client_headers.get("anthropic-beta", "").split(",")))
|
||||
assert sorted(captured["body"]["anthropic_beta"]) == sorted(client_betas | {"dangerous-tool-use-2026-09-03"})
|
||||
assert response["safeguard_results"] == safeguard_results
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue