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 )