From db821f0bd7778fbfe30e2cd7c723307706a0c003 Mon Sep 17 00:00:00 2001 From: Sambhav Dixit <94298612+sambhavnoobcoder@users.noreply.github.com> Date: Fri, 25 Oct 2024 03:18:00 +0530 Subject: [PATCH] minor refactor --- swarms/structs/agent.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swarms/structs/agent.py b/swarms/structs/agent.py index 36082b61..a089aee5 100644 --- a/swarms/structs/agent.py +++ b/swarms/structs/agent.py @@ -804,10 +804,10 @@ class Agent: # Generate response using LLM response_args = ( - (task_prompt, *args) - if img is None - else (task_prompt, img, *args) - ) + (task_prompt, *args) + if img is None + else (task_prompt, img, *args) + ) response = self.call_llm( *response_args, **kwargs )