feat: integrate web terminal interface with xtermjs support

feat: add basic version control functionality using minigit
refactor: update context management and system message refresh
maintenance: update pyproject.toml version to 1.59.0
fix: handle api connection errors more gracefully
feat: add directory context tool
This commit is contained in:
2025-11-11 12:34:41 +01:00
parent 63c4070af1
commit e6b70ae50f
14 changed files with 394 additions and 58 deletions
+2 -1
View File
@@ -44,13 +44,14 @@ class TestAssistant(unittest.TestCase):
assistant = MagicMock()
assistant.verbose = False
assistant.syntax_highlighting = True
assistant.graph_memory = MagicMock()
mock_render.return_value = "rendered"
response = {"choices": [{"message": {"content": "content"}}]}
result = Assistant.process_response(assistant, response)
self.assertEqual(result, "rendered")
self.assertEqual(result, "content")
assistant.messages.append.assert_called_with({"content": "content"})
@patch("rp.core.assistant.call_api")