Spaces:
Sleeping
Sleeping
fix error
Browse files
app.py
CHANGED
@@ -146,7 +146,8 @@ class BasicAgent:
|
|
146 |
def __init__(self):
|
147 |
print("BasicAgent initialized.")
|
148 |
def __call__(self, question: str) -> str:
|
149 |
-
|
|
|
150 |
|
151 |
initial_state = {
|
152 |
"question": question,
|
|
|
146 |
def __init__(self):
|
147 |
print("BasicAgent initialized.")
|
148 |
def __call__(self, question: str) -> str:
|
149 |
+
question_text = question.get("question")
|
150 |
+
print(f"Agent received question (first 50 chars): {question_text[:50]}...")
|
151 |
|
152 |
initial_state = {
|
153 |
"question": question,
|