Stefan888 commited on
Commit
3086eea
·
1 Parent(s): ef5fa7d
Files changed (1) hide show
  1. app.py +2 -1
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
- print(f"Agent received question (first 50 chars): {question[:50]}...")
 
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,