aubrigene949 commited on
Commit
0629ba0
·
verified ·
1 Parent(s): 15fed98

Update app.py

Browse files

Inserted print to test agent.run()

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -41,6 +41,7 @@ class BasicAgent:
41
  print(f"Agent received question (first 50 chars): {question[:50]}...")
42
  fixed_answer = "This is a default answer."
43
  # fixed_answer = agent.run(question)
 
44
  print(f"Agent returning fixed answer: {fixed_answer}")
45
  return fixed_answer
46
 
 
41
  print(f"Agent received question (first 50 chars): {question[:50]}...")
42
  fixed_answer = "This is a default answer."
43
  # fixed_answer = agent.run(question)
44
+ print(f"Agent answered How are you today as: {agent.run('How are you today?')}")
45
  print(f"Agent returning fixed answer: {fixed_answer}")
46
  return fixed_answer
47