sqfoo commited on
Commit
4144b25
·
verified ·
1 Parent(s): 62f275c

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -258,7 +258,7 @@ class BasicAgent:
258
  print("BasicAgent initialized.")
259
 
260
  def __call__(self, task: dict) -> str:
261
- task_id, question, Level, file_name = task["task_id"], task["question"], Level, task["file_name"]
262
  print(f"Agent received question (first 50 chars): {question[:50]}...")
263
  # response = self.agent_exe.invoke({"input": f"Question: {question}"})
264
  # fixed_answer = response['message'][-1].content
 
258
  print("BasicAgent initialized.")
259
 
260
  def __call__(self, task: dict) -> str:
261
+ task_id, question, file_name = task["task_id"], task["question"], task["file_name"]
262
  print(f"Agent received question (first 50 chars): {question[:50]}...")
263
  # response = self.agent_exe.invoke({"input": f"Question: {question}"})
264
  # fixed_answer = response['message'][-1].content