Update app.py
Browse filesInserted this. before agent
app.py
CHANGED
@@ -41,7 +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 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 |
|
|
|
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: {this.agent.run('How are you today?')}")
|
45 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
46 |
return fixed_answer
|
47 |
|