suse-documentation-mcp-server 0.8.0__py3-none-any.whl → 0.9.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,9 @@ async def get_web_search_results(query: str) -> str:
78
78
  Search SUSE documentation using web search and return results.
79
79
 
80
80
  This function is designed to perform a web search on the SUSE documentation
81
- for a given query and return the results.
81
+ for a given query and return the results. The function takes a search query as
82
+ a string, performs the web search, and returns a formatted string containing
83
+ the content from the search results.
82
84
 
83
85
  Args:
84
86
  query (str): Web search query
@@ -90,7 +92,7 @@ async def get_web_search_results(query: str) -> str:
90
92
  try:
91
93
  return get_web_search_results_from_oi(query)
92
94
  except Exception as e:
93
- return f"Error performing web search: {str(e)}"
95
+ return f"Error performing web search: {str(e)}\n\n{query}"
94
96
 
95
97
 
96
98
  def main():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: suse-documentation-mcp-server
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -0,0 +1,6 @@
1
+ server/search_suse_documentation.py,sha256=ttI02m2_Bc4IboHGOlr9MAVqlTFGba7HGUT0IbZed64,3664
2
+ suse_documentation_mcp_server-0.9.0.dist-info/METADATA,sha256=0cJ3fDbAl3oSY-TjclN2g9W0wRsttLS54IL3zddAYAg,343
3
+ suse_documentation_mcp_server-0.9.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
+ suse_documentation_mcp_server-0.9.0.dist-info/entry_points.txt,sha256=IEM7kH8YFWMMJCcp4hJGv5tHzHWxiR5lZ7jOyzRCHQA,88
5
+ suse_documentation_mcp_server-0.9.0.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
6
+ suse_documentation_mcp_server-0.9.0.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- server/search_suse_documentation.py,sha256=OwVHImo3-VRqt7Z8tvOsAPgnDdhgoF_eXhyL7tbyRWY,3491
2
- suse_documentation_mcp_server-0.8.0.dist-info/METADATA,sha256=GUGQtyN8XChdtEdc7wCetBfhMD7VGJILD7EfhKkZuZs,343
3
- suse_documentation_mcp_server-0.8.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
- suse_documentation_mcp_server-0.8.0.dist-info/entry_points.txt,sha256=IEM7kH8YFWMMJCcp4hJGv5tHzHWxiR5lZ7jOyzRCHQA,88
5
- suse_documentation_mcp_server-0.8.0.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
6
- suse_documentation_mcp_server-0.8.0.dist-info/RECORD,,