diff --git a/en/.doctrees/environment.pickle b/en/.doctrees/environment.pickle index c25b2e46a..5562be8c6 100644 Binary files a/en/.doctrees/environment.pickle and b/en/.doctrees/environment.pickle differ diff --git a/en/.doctrees/index.doctree b/en/.doctrees/index.doctree index 819be0ab2..440c65b51 100644 Binary files a/en/.doctrees/index.doctree and b/en/.doctrees/index.doctree differ diff --git a/en/_modules/agentscope/utils/common.html b/en/_modules/agentscope/utils/common.html index 2b2ca313e..730a6275e 100644 --- a/en/_modules/agentscope/utils/common.html +++ b/en/_modules/agentscope/utils/common.html @@ -425,7 +425,7 @@
lower_url = url.lower()
# Web url
- if parsed_url.scheme != "":
+ if not os.path.exists(url) and parsed_url.scheme != "":
if any(lower_url.endswith(_) for _ in support_image_extensions):
return url
diff --git a/zh_CN/.doctrees/environment.pickle b/zh_CN/.doctrees/environment.pickle
index 7620156cc..e9e6c3812 100644
Binary files a/zh_CN/.doctrees/environment.pickle and b/zh_CN/.doctrees/environment.pickle differ
diff --git a/zh_CN/.doctrees/index.doctree b/zh_CN/.doctrees/index.doctree
index edb0efa91..8fa5f41b2 100644
Binary files a/zh_CN/.doctrees/index.doctree and b/zh_CN/.doctrees/index.doctree differ
diff --git a/zh_CN/_modules/agentscope/utils/common.html b/zh_CN/_modules/agentscope/utils/common.html
index bb3c66dbd..3e4cf3c58 100644
--- a/zh_CN/_modules/agentscope/utils/common.html
+++ b/zh_CN/_modules/agentscope/utils/common.html
@@ -429,7 +429,7 @@ agentscope.utils.common 源代码
lower_url = url.lower()
# Web url
- if parsed_url.scheme != "":
+ if not os.path.exists(url) and parsed_url.scheme != "":
if any(lower_url.endswith(_) for _ in support_image_extensions):
return url