From 89d082aab9b60ea20e433153e3eb3b2585b4afed Mon Sep 17 00:00:00 2001 From: evelynmitchell <efmphone@gmail.com> Date: Wed, 27 Nov 2024 19:33:03 -0700 Subject: [PATCH] whitespace precolon --- swarms/structs/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/structs/agent.py b/swarms/structs/agent.py index a4c04a16..1c6cc24c 100644 --- a/swarms/structs/agent.py +++ b/swarms/structs/agent.py @@ -1711,7 +1711,7 @@ class Agent: # Shorten the context window if it exceeds the limit, keeping the last n tokens, need to implement the indexing if count > self.context_length: - history = history[-self.context_length :] + history = history[-self.context_length :] # noqa: E203 return history