Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions tests/test_sdk_anthropic_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def test_prompt_caching_enabled_by_default():
handle = _AnthropicHandle(
client=_make_fake_client(captured),
system_prompt="",
model="claude-mythos-5",
model="claude-opus-4.7",
max_tokens=100,
tools=[],
mcp_server_map={},
Expand Down Expand Up @@ -335,7 +335,7 @@ def test_prompt_caching_explicit_opt_out():
handle = _AnthropicHandle(
client=_make_fake_client(captured),
system_prompt="",
model="claude-mythos-5",
model="claude-opus-4.7",
max_tokens=100,
tools=[],
mcp_server_map={},
Expand Down Expand Up @@ -363,7 +363,7 @@ def test_prompt_caching_1h_ttl_passes_ttl_field():
handle = _AnthropicHandle(
client=_make_fake_client(captured),
system_prompt="",
model="claude-mythos-5",
model="claude-opus-4.7",
max_tokens=100,
tools=[],
mcp_server_map={},
Expand Down Expand Up @@ -425,7 +425,7 @@ def copy(self):
spec = AgentSpec(
name="t",
instructions="",
model="claude-mythos-preview",
model="claude-opus-4.7",
mcp_servers=[MCPServerSpec(name="rc", kind="stdio", params={"_native": wrap})],
blocked_tools=["read_file"], # raw name from YAML
)
Expand Down Expand Up @@ -478,7 +478,7 @@ def copy(self):
spec = AgentSpec(
name="t",
instructions="",
model="claude-mythos-preview",
model="claude-opus-4.7",
mcp_servers=[MCPServerSpec(name="rc", kind="stdio", params={"_native": wrap})],
blocked_tools=[f"{ns}read_file"], # already namespaced
)
Expand Down Expand Up @@ -515,7 +515,7 @@ def test_build_raises_bad_request_when_no_token_available(monkeypatch):
spec = AgentSpec(
name="t",
instructions="",
model="claude-mythos-preview",
model="claude-opus-4.7",
endpoint="https://api.githubcopilot.com",
)
backend = AnthropicSDKBackend()
Expand Down Expand Up @@ -563,7 +563,7 @@ def __init__(self):
handle = _AnthropicHandle(
client=_FakeClient(),
system_prompt="",
model="claude-mythos-5",
model="claude-opus-4.7",
max_tokens=100,
tools=[],
mcp_server_map={},
Expand Down Expand Up @@ -614,7 +614,7 @@ def __init__(self):
handle = _AnthropicHandle(
client=_FakeClient(),
system_prompt="",
model="claude-mythos-5",
model="claude-opus-4.7",
max_tokens=100,
tools=[],
mcp_server_map={},
Expand Down
Loading