Update app.py
Browse files
app.py
CHANGED
|
@@ -896,7 +896,8 @@ def tool_executor(state: AgentState):
|
|
| 896 |
if query_webpage_information_similarity_score > best_query_webpage_information_similarity_score:
|
| 897 |
best_query_webpage_information_similarity_score = query_webpage_information_similarity_score
|
| 898 |
best_webpage_information = webpage_result
|
| 899 |
-
except:
|
|
|
|
| 900 |
pass
|
| 901 |
else:
|
| 902 |
result = "Unknown tool"
|
|
|
|
| 896 |
if query_webpage_information_similarity_score > best_query_webpage_information_similarity_score:
|
| 897 |
best_query_webpage_information_similarity_score = query_webpage_information_similarity_score
|
| 898 |
best_webpage_information = webpage_result
|
| 899 |
+
except Exception as e:
|
| 900 |
+
webpage_information_complete = str(e)
|
| 901 |
pass
|
| 902 |
else:
|
| 903 |
result = "Unknown tool"
|