chore: bump version to 1.31.0 and add changelog entry for agent instruction improvements

This commit is contained in:
2025-11-08 01:39:08 +00:00
parent 98f7847686
commit c25ec06742
3 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -229,8 +229,7 @@ class TestReviewFile:
@patch("rp.commands.handlers.read_file")
@patch("rp.core.assistant.process_message")
@patch("asyncio.create_task")
async def test_review_file_success(self, mock_create_task, mock_process, mock_read):
def test_review_file_success(self, mock_process, mock_read):
mock_read.return_value = {"status": "success", "content": "test content"}
review_file(self.assistant, "test.py")
mock_read.assert_called_once_with("test.py")
@@ -697,3 +696,4 @@ class TestShowBackgroundEvents:
def test_show_events_exception(self, mock_get):
mock_get.side_effect = Exception("test")
show_background_events(self.assistant)