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.
- server/search_suse_documentation.py +4 -2
- {suse_documentation_mcp_server-0.8.0.dist-info → suse_documentation_mcp_server-0.9.0.dist-info}/METADATA +1 -1
- suse_documentation_mcp_server-0.9.0.dist-info/RECORD +6 -0
- suse_documentation_mcp_server-0.8.0.dist-info/RECORD +0 -6
- {suse_documentation_mcp_server-0.8.0.dist-info → suse_documentation_mcp_server-0.9.0.dist-info}/WHEEL +0 -0
- {suse_documentation_mcp_server-0.8.0.dist-info → suse_documentation_mcp_server-0.9.0.dist-info}/entry_points.txt +0 -0
- {suse_documentation_mcp_server-0.8.0.dist-info → suse_documentation_mcp_server-0.9.0.dist-info}/top_level.txt +0 -0
@@ -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():
|
@@ -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,,
|
File without changes
|
File without changes
|
File without changes
|