aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/autogpt/agents/features/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/autogpt/agents/features/context.py')
-rw-r--r--autogpts/autogpt/autogpt/agents/features/context.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/autogpts/autogpt/autogpt/agents/features/context.py b/autogpts/autogpt/autogpt/agents/features/context.py
index 3e92c867c..748635ddc 100644
--- a/autogpts/autogpt/autogpt/agents/features/context.py
+++ b/autogpts/autogpt/autogpt/agents/features/context.py
@@ -61,10 +61,10 @@ class ContextMixin:
0,
ChatMessage.system(
"## Context\n"
- + self.context.format_numbered()
- + "\n\nWhen a context item is no longer needed and you are not done yet,"
- " you can hide the item by specifying its number in the list above"
- " to `hide_context_item`.",
+ f"{self.context.format_numbered()}\n\n"
+ "When a context item is no longer needed and you are not done yet, "
+ "you can hide the item by specifying its number in the list above "
+ "to `hide_context_item`.",
),
)