File size: 418 Bytes
221ba30
 
 
 
 
3901c83
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
class BasicAgent:
    def __init__(self):
        print("BasicAgent initialized.")

    def __call__(self, question: str) -> str:
        print(f"Agent received question (first 50 chars): {question[:50]}...")
        # Replace this with your own logic to answer the questions
        fixed_answer = "This is a default answer."
        print(f"Agent returning fixed answer: {fixed_answer}")
        return fixed_answer