Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

Bugfix:修复DeepSearch Skill

openJiuwen-botb4ea5e3f8a36
diff --git a/jiuwenclaw/resources/agent/skills/openJiuwen-DeepSearch/scripts/convert_html.py b/jiuwenclaw/resources/agent/skills/openJiuwen-DeepSearch/scripts/convert_html.py
index 6a363478b3..763d1f7934 100644
--- a/jiuwenclaw/resources/agent/skills/openJiuwen-DeepSearch/scripts/convert_html.py
+++ b/jiuwenclaw/resources/agent/skills/openJiuwen-DeepSearch/scripts/convert_html.py
@@ -607,8 +607,6 @@ def convert_md_to_html(input_md: str | Path, output_html: str | Path) -> None:
if not input_path.exists():
raise FileNotFoundError(f"Markdown 文件不存在: {input_path}")
- if input_path.suffix.lower() != ".md":
-
md_content = read_text_with_fallback(input_path)
md_content = preprocess_markdown(md_content)
@@ -629,7 +627,4 @@ def convert_md_to_html(input_md: str | Path, output_html: str | Path) -> None:
if __name__ == "__main__":
- try:
- convert_md_to_html("input.md", "output.html")
- except Exception as e:
- raise
\ No newline at end of file
+ convert_md_to_html("input.md", "output.html")
\ No newline at end of file