test: adapt mocks from _call_model to model+formatter for ReActAgent
ReActAgent internally calls shared model and formatter singletons. Mock at that level instead of the removed _call_model method. Key fix: set mock_model.stream = False so ReActAgent uses non-streaming path. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
1 changed file
with
57 additions
and
37 deletions
-
Please register or sign in to post a comment