From 0901e6ab774fdb209f5c97e8fecc99340cf96554 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 26 Dec 2024 09:57:56 -0500 Subject: [PATCH] fix: Correctly format long error message string --- aider/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 0da987038..cddee8aa8 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1339,7 +1339,8 @@ class Commands: # Check that appropriate error messages were shown mock_tool_error.assert_any_call( - "Command '/ask Tell me about the code' is only supported in interactive mode, skipping." + "Command '/ask Tell me about the code' is only supported in interactive" + " mode, skipping." ) mock_tool_error.assert_any_call( "Command '/model gpt-4' is only supported in interactive mode, skipping."