Skip to content

Commit 0aefd1b

Browse files
mrinal-berriclaude
andcommitted
fix(anthropic): carry main's dangerous-tool-use beta map entries; skip worker-kill chaos test
The bundled beta map stripped dangerous-tool-use-2026-09-03 for providers main supports it on, so safeguards requests went upstream without the beta whenever the proxy used the bundled map. The worker-SIGKILL chaos test needs OwnedProxy.replacing_worker, which this line's integration harness lacks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent dae6a2d commit 0aefd1b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎litellm/anthropic_beta_headers_config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
"computer-use-2025-11-24": "computer-use-2025-11-24",
230230
"context-1m-2025-08-07": "context-1m-2025-08-07",
231231
"context-management-2025-06-27": "context-management-2025-06-27",
232-
"dangerous-tool-use-2026-09-03": null,
232+
"dangerous-tool-use-2026-09-03": "dangerous-tool-use-2026-09-03",
233233
"effort-2025-11-24": "effort-2025-11-24",
234234
"fast-mode-2026-02-01": "fast-mode-2026-02-01",
235235
"files-api-2025-04-14": "files-api-2025-04-14",

‎tests/integration/messages_endpoint/providers/anthropic/test_anthropic_safeguards_beta_chaos.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def _open_upstream_connections(pid: int, upstream: str) -> int:
200200
)
201201

202202

203+
@pytest.mark.skip(reason="Needs OwnedProxy.replacing_worker, which this stable line's integration harness does not have")
203204
@pytest.mark.timeout(180)
204205
async def test_worker_sigkill_mid_burst_leaves_the_sibling_sending_the_beta(gateway: Gateway, tmp_path: Path) -> None:
205206
calls: Final = _calls(20, stream=False)

0 commit comments

Comments
 (0)