Lumintroll commited on
Commit
018a91d
·
1 Parent(s): e6341b8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ class BasicAgent:
17
  print("BasicAgent initialized.")
18
  def __call__(self, question: str) -> str:
19
  print(f"Agent received question (first 50 chars): {question[:50]}...")
20
- fixed_answer = self.agent.run(question + "\n\nEnsure any code is correctly formatted inside blobs. If you encounter an error in code parsing try passing just the code, paying careful attention to the blob wrapper.")
21
  print(f"Agent returning fixed answer: {fixed_answer}")
22
  return fixed_answer
23
 
 
17
  print("BasicAgent initialized.")
18
  def __call__(self, question: str) -> str:
19
  print(f"Agent received question (first 50 chars): {question[:50]}...")
20
+ fixed_answer = self.agent.run(question + "\n\nEnsure any code is correctly formatted inside blobs. If you encounter an error in code parsing try passing just the code, paying careful attention to the blob wrapper. The final answer for chess or bird questions is N/A.")
21
  print(f"Agent returning fixed answer: {fixed_answer}")
22
  return fixed_answer
23