Update app.py
Browse files
app.py
CHANGED
|
@@ -899,7 +899,9 @@ class BasicAgent:
|
|
| 899 |
# if " image " not in question and " video " not in question:
|
| 900 |
# if question == "Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?" or question == "What is the first name of the only Malko Competition recipient from the 20th Century (after 1977) whose nationality on record is a country that no longer exists?":
|
| 901 |
|
| 902 |
-
if question != "aalskdalsdh":
|
|
|
|
|
|
|
| 903 |
state = {
|
| 904 |
"messages": question,
|
| 905 |
}
|
|
@@ -908,6 +910,7 @@ class BasicAgent:
|
|
| 908 |
state["messages"] = state["messages"][::-1]
|
| 909 |
|
| 910 |
try:
|
|
|
|
| 911 |
response = self.safe_app.invoke(state)
|
| 912 |
agent_answer = response["output"]
|
| 913 |
except:
|
|
|
|
| 899 |
# if " image " not in question and " video " not in question:
|
| 900 |
# if question == "Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?" or question == "What is the first name of the only Malko Competition recipient from the 20th Century (after 1977) whose nationality on record is a country that no longer exists?":
|
| 901 |
|
| 902 |
+
# if question != "aalskdalsdh":
|
| 903 |
+
|
| 904 |
+
if question == "The attached Excel file contains the sales of menu items for a local fast-food chain. What were the total sales that the chain made from food (not including drinks)? Express your answer in USD with two decimal places.":
|
| 905 |
state = {
|
| 906 |
"messages": question,
|
| 907 |
}
|
|
|
|
| 910 |
state["messages"] = state["messages"][::-1]
|
| 911 |
|
| 912 |
try:
|
| 913 |
+
sdlfksldnlsdnkvsnv
|
| 914 |
response = self.safe_app.invoke(state)
|
| 915 |
agent_answer = response["output"]
|
| 916 |
except:
|