fix(tui): update test for target model

This commit is contained in:
Rugved Somwanshi 2026-04-27 11:30:59 -04:00 committed by kshitij
parent 214ca943ac
commit fa2bee1215

View File

@ -45,7 +45,9 @@ def test_make_agent_passes_resolved_provider():
_make_agent("sid-1", "key-1")
mock_resolve.assert_called_once_with(requested=None)
mock_resolve.assert_called_once_with(
requested=None, target_model="claude-opus-4-6"
)
call_kwargs = mock_agent.call_args
assert call_kwargs.kwargs["provider"] == "anthropic"