File size: 368 Bytes
32eac77
 
f0f4b2c
32eac77
 
 
f0f4b2c
 
1
2
3
4
5
6
7
8
9
class BasicAgent:
    def __init__(self):
        self._fixed_answer = "This is a default answer."
        print("BasicAgent initialized.")
    def __call__(self, question: str) -> str:
        print(f"Agent received question (first 50 chars): {question[:50]}...")
        print(f"Agent returning fixed answer: {self._fixed_answer}")
        return self._fixed_answer