Co-authored-by: Kim-Adeline Miguel <kimadeline.miguel@mistral.ai>
Co-authored-by: Clement Sirieix <clem.sirieix@gmail.com>
Co-authored-by: laurens <laurens@mistral.ai>
This commit is contained in:
Mathias Gesbert 2026-03-12 15:57:44 +01:00 committed by GitHub
parent e9428bce23
commit 9421fbc08e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 370 additions and 40 deletions

View file

@ -114,10 +114,6 @@ class TestAcpSearchReplaceExecution:
assert isinstance(result, SearchReplaceResult)
assert result.file == str(test_file)
assert result.blocks_applied == 1
assert (
result.file_content_before
== "original line 1\noriginal line 2\noriginal line 3"
)
assert mock_client._read_text_file_called
assert mock_client._write_text_file_called
assert mock_client._session_update_called
@ -318,7 +314,6 @@ class TestAcpSearchReplaceSessionUpdates:
lines_changed=1,
content=search_replace_content,
warnings=[],
file_content_before="old text",
)
event = ToolResultEvent(