Create agents.py
Browse files
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
|