From 8d522302d55406655cd89526fa0371a66f0d8ec4 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 8 Nov 2025 02:39:08 +0100 Subject: [PATCH] feat: allow agents to follow more detailed instructions feat: save user messages to improve agent responses maintenance: bump version to 1.32.0 refactor: simplify test for review file --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- tests/test_commands.py | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4fb53f..dd03de7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,14 @@ + + +## Version 1.31.0 - 2025-11-08 + +Agents can now follow more detailed instructions and find information to help respond. User messages are now saved to help improve the agent's future responses. + +**Changes:** 4 files, 22 lines +**Languages:** Markdown (8 lines), Other (6 lines), Python (6 lines), TOML (2 lines) ## Version 1.30.0 - 2025-11-08 diff --git a/pyproject.toml b/pyproject.toml index e891845..39eb052 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rp" -version = "1.30.0" +version = "1.31.0" description = "R python edition. The ultimate autonomous AI CLI." readme = "README.md" requires-python = ">=3.10" diff --git a/tests/test_commands.py b/tests/test_commands.py index 89cebe4..93f60ce 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -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) +