feat: allow agents to follow more detailed instructions
Some checks failed
Tests / test (macos-latest, 3.10) (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (windows-latest, 3.10) (push) Waiting to run
Tests / test (windows-latest, 3.11) (push) Waiting to run
Tests / test (windows-latest, 3.12) (push) Waiting to run
Lint / lint (push) Failing after 28s
Tests / test (ubuntu-latest, 3.12) (push) Successful in 1m25s
Tests / test (ubuntu-latest, 3.10) (push) Failing after 27s
Tests / test (ubuntu-latest, 3.11) (push) Failing after 34s

feat: save user messages to improve agent responses
maintenance: bump version to 1.32.0
refactor: simplify test for review file
This commit is contained in:
retoor 2025-11-08 02:39:08 +01:00
parent b90ae1b9c3
commit 8d522302d5
3 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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"

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)