@@ -316,7 +316,7 @@ def test_prompt_caching_enabled_by_default():
316316 handle = _AnthropicHandle (
317317 client = _make_fake_client (captured ),
318318 system_prompt = "You are a helpful auditor." ,
319- model = "claude-mythos-5 " ,
319+ model = "claude-opus-4.7 " ,
320320 max_tokens = 100 ,
321321 tools = tools ,
322322 mcp_server_map = {},
@@ -357,7 +357,7 @@ def test_prompt_caching_explicit_opt_out():
357357 handle = _AnthropicHandle (
358358 client = _make_fake_client (captured ),
359359 system_prompt = "You are a helpful auditor." ,
360- model = "claude-mythos-5 " ,
360+ model = "claude-opus-4.7 " ,
361361 max_tokens = 100 ,
362362 tools = [{"name" : "a" , "description" : "" , "input_schema" : {"type" : "object" }}],
363363 mcp_server_map = {},
@@ -387,7 +387,7 @@ def test_prompt_caching_1h_ttl_passes_ttl_field():
387387 handle = _AnthropicHandle (
388388 client = _make_fake_client (captured ),
389389 system_prompt = "You are a helpful auditor." ,
390- model = "claude-mythos-5 " ,
390+ model = "claude-opus-4.7 " ,
391391 max_tokens = 100 ,
392392 tools = [],
393393 mcp_server_map = {},
@@ -426,7 +426,7 @@ def test_run_streamed_emits_token_usage():
426426 handle = _AnthropicHandle (
427427 client = _make_fake_client (captured , usage = usage ),
428428 system_prompt = "You are a helpful auditor." ,
429- model = "claude-mythos-5 " ,
429+ model = "claude-opus-4.7 " ,
430430 max_tokens = 100 ,
431431 tools = [],
432432 mcp_server_map = {},
@@ -439,7 +439,7 @@ async def _run():
439439
440440 events = asyncio .run (_run ())
441441 assert TokenUsage (
442- model = "claude-mythos-5 " ,
442+ model = "claude-opus-4.7 " ,
443443 input_tokens = 9 ,
444444 output_tokens = 20 ,
445445 cache_read_tokens = 1321 ,
@@ -491,7 +491,7 @@ def copy(self):
491491 spec = AgentSpec (
492492 name = "t" ,
493493 instructions = "" ,
494- model = "claude-mythos-preview " ,
494+ model = "claude-sonnet-4.5 " ,
495495 mcp_servers = [MCPServerSpec (name = "rc" , kind = "stdio" , params = {"_native" : wrap })],
496496 blocked_tools = ["read_file" ], # raw name from YAML
497497 )
@@ -544,7 +544,7 @@ def copy(self):
544544 spec = AgentSpec (
545545 name = "t" ,
546546 instructions = "" ,
547- model = "claude-mythos-preview " ,
547+ model = "claude-sonnet-4.5 " ,
548548 mcp_servers = [MCPServerSpec (name = "rc" , kind = "stdio" , params = {"_native" : wrap })],
549549 blocked_tools = [f"{ ns } read_file" ], # already namespaced
550550 )
@@ -581,7 +581,7 @@ def test_build_raises_bad_request_when_no_token_available(monkeypatch):
581581 spec = AgentSpec (
582582 name = "t" ,
583583 instructions = "" ,
584- model = "claude-mythos-preview " ,
584+ model = "claude-sonnet-4.5 " ,
585585 endpoint = "https://api.githubcopilot.com" ,
586586 )
587587 backend = AnthropicSDKBackend ()
@@ -629,7 +629,7 @@ def __init__(self):
629629 handle = _AnthropicHandle (
630630 client = _FakeClient (),
631631 system_prompt = "" ,
632- model = "claude-mythos-5 " ,
632+ model = "claude-opus-4.7 " ,
633633 max_tokens = 100 ,
634634 tools = [],
635635 mcp_server_map = {},
@@ -680,7 +680,7 @@ def __init__(self):
680680 handle = _AnthropicHandle (
681681 client = _FakeClient (),
682682 system_prompt = "" ,
683- model = "claude-mythos-5 " ,
683+ model = "claude-opus-4.7 " ,
684684 max_tokens = 100 ,
685685 tools = [],
686686 mcp_server_map = {},
0 commit comments