fix(tui): update test for target model
This commit is contained in:
committed by
kshitij
parent
214ca943ac
commit
fa2bee1215
@@ -45,7 +45,9 @@ def test_make_agent_passes_resolved_provider():
|
|||||||
|
|
||||||
_make_agent("sid-1", "key-1")
|
_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
|
call_kwargs = mock_agent.call_args
|
||||||
assert call_kwargs.kwargs["provider"] == "anthropic"
|
assert call_kwargs.kwargs["provider"] == "anthropic"
|
||||||
|
|||||||
Reference in New Issue
Block a user