fix(providers): update Anthropic default model to claude-sonnet-4-6
Update the Anthropic provider default model and matching docs/tests from claude-sonnet-4-20250514 to claude-sonnet-4-6. Fixes #4675
This commit is contained in:
@@ -18,7 +18,7 @@ from nanobot.agent.tools.self import MyTool
|
||||
def _make_mock_loop(**overrides):
|
||||
"""Build a lightweight mock AgentLoop with the attributes MyTool reads."""
|
||||
loop = MagicMock()
|
||||
loop.model = "anthropic/claude-sonnet-4-20250514"
|
||||
loop.model = "anthropic/claude-sonnet-4-6"
|
||||
loop.max_iterations = 40
|
||||
loop.context_window_tokens = 65_536
|
||||
loop.workspace = Path("/tmp/workspace")
|
||||
|
||||
Reference in New Issue
Block a user