style check

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

@ -803,14 +803,8 @@ class Agent:
self.memory_query(task_prompt)
# Generate response using LLM
response_args = (
(task_prompt, *args)
if img is None
else (task_prompt, img, *args)
)
response = self.call_llm(
*response_args, **kwargs
)
response = self.llm(task_prompt, *args, **kwargs)
# Check if response is a dictionary and has 'choices' key
if isinstance(response, dict) and 'choices' in response:

Loading…
Cancel
Save