minor refactor

pull/611/head
Sambhav Dixit 3 months ago committed by GitHub
parent a299a5854e
commit db821f0bd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -804,10 +804,10 @@ class Agent:
# Generate response using LLM # Generate response using LLM
response_args = ( response_args = (
(task_prompt, *args) (task_prompt, *args)
if img is None if img is None
else (task_prompt, img, *args) else (task_prompt, img, *args)
) )
response = self.call_llm( response = self.call_llm(
*response_args, **kwargs *response_args, **kwargs
) )

Loading…
Cancel
Save