-
Notifications
You must be signed in to change notification settings - Fork 743
Description
the code have retorning this error, please anything know wath do?
Directory MATH_research_dir removed successfully.
Beginning phase: literature review
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Beginning subtask: literature review
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Cost approximation has an error? cannot access local variable 'answer' where it is not associated with a value
Inference Exception: cannot access local variable 'answer' where it is not associated with a value
Cost approximation has an error? cannot access local variable 'answer' where it is not associated with a value
Inference Exception: cannot access local variable 'answer' where it is not associated with a value
Cost approximation has an error? cannot access local variable 'answer' where it is not associated with a value
Inference Exception: cannot access local variable 'answer' where it is not associated with a value
Cost approximation has an error? cannot access local variable 'answer' where it is not associated with a value
Inference Exception: cannot access local variable 'answer' where it is not associated with a value
Cost approximation has an error? cannot access local variable 'answer' where it is not associated with a value
Inference Exception: cannot access local variable 'answer' where it is not associated with a value
Traceback (most recent call last):
File "C:\Users*\Desktop\AgentLaboratory-main\ai_lab_repo.py", line 862, in
lab.perform_research()
File "C:\Users*\Desktop\AgentLaboratory-main\ai_lab_repo.py", line 159, in perform_research
while repeat: repeat = self.literature_review()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\Desktop\AgentLaboratory-main\ai_lab_repo.py", line 474, in literature_review
resp = self.phd.inference(self.research_topic, "literature review", step=0, temp=0.4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\Desktop\AgentLaboratory-main\agents.py", line 260, in inference
model_resp = query_model(model_str=self.model, system_prompt=sys_prompt, prompt=prompt, temp=temp, openai_api_key=self.openai_api_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*****\Desktop\AgentLaboratory-main\inference.py", line 211, in query_model
raise Exception("Max retries: timeout")
Exception: Max retries: timeout