Improve on eval script on web browsing tasks; Add one setup example

This commit is contained in:
Timothyxxx
2024-02-23 11:57:50 +08:00
parent 543666ff4d
commit 81863b26dd
4 changed files with 72 additions and 41 deletions

View File

@@ -625,6 +625,9 @@ def are_lists_equal(list1, list2, comparison_func):
def compare_urls(url1, url2):
if url1 is None or url2 is None:
return url1 == url2
def normalize_url(url):
# Parse the URL
parsed_url = urlparse(url)