budivoy commited on
Commit
8477430
·
verified ·
1 Parent(s): faf2b14

Create agents.py

Browse files
Files changed (1) hide show
  1. agents.py +8 -0
agents.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ class BasicAgent:
2
+ def __init__(self):
3
+ print("BasicAgent initialized.")
4
+ def __call__(self, question: str) -> str:
5
+ print(f"Agent received question (first 50 chars): {question[:50]}...")
6
+ fixed_answer = "This is a default answer."
7
+ print(f"Agent returning fixed answer: {fixed_answer}")
8
+ return fixed_answer