suse-documentation-mcp-server 0.10.0__py3-none-any.whl → 0.12.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 +3 -0
- {suse_documentation_mcp_server-0.10.0.dist-info → suse_documentation_mcp_server-0.12.0.dist-info}/METADATA +1 -1
- suse_documentation_mcp_server-0.12.0.dist-info/RECORD +6 -0
- suse_documentation_mcp_server-0.10.0.dist-info/RECORD +0 -6
- {suse_documentation_mcp_server-0.10.0.dist-info → suse_documentation_mcp_server-0.12.0.dist-info}/WHEEL +0 -0
- {suse_documentation_mcp_server-0.10.0.dist-info → suse_documentation_mcp_server-0.12.0.dist-info}/entry_points.txt +0 -0
- {suse_documentation_mcp_server-0.10.0.dist-info → suse_documentation_mcp_server-0.12.0.dist-info}/top_level.txt +0 -0
@@ -32,6 +32,7 @@ def get_web_search_results_from_oi(query):
|
|
32
32
|
"collection_name": "your_collection_name"
|
33
33
|
}
|
34
34
|
|
35
|
+
print("Inside get_web_search_results_from_oi:", query)
|
35
36
|
search_response = requests.post(f"{base_url}/search", headers=headers, json=search_payload)
|
36
37
|
if search_response.status_code != 200:
|
37
38
|
raise Exception(f"Search API call failed: {search_response.status_code} - {search_response.text}")
|
@@ -92,6 +93,7 @@ async def get_web_search_results(input_data: Any) -> str:
|
|
92
93
|
Returns:
|
93
94
|
str: Combined content from the search results, cleaned and formatted
|
94
95
|
"""
|
96
|
+
print("Entered get_web_search_results:", query)
|
95
97
|
try:
|
96
98
|
# Normalize input to extract the query string
|
97
99
|
if isinstance(input_data, str):
|
@@ -106,6 +108,7 @@ async def get_web_search_results(input_data: Any) -> str:
|
|
106
108
|
# Ensure query is a string
|
107
109
|
if not isinstance(query, str):
|
108
110
|
raise ValueError("The extracted query must be a string.")
|
111
|
+
print("Before web search:", query)
|
109
112
|
return get_web_search_results_from_oi(query)
|
110
113
|
except Exception as e:
|
111
114
|
return f"Error performing web search: {str(e)}\n\n{query}"
|
@@ -0,0 +1,6 @@
|
|
1
|
+
server/search_suse_documentation.py,sha256=gsv6fEAGqguyfOOlp79jERGDCKDF95eERw_LtF53mcI,4625
|
2
|
+
suse_documentation_mcp_server-0.12.0.dist-info/METADATA,sha256=jhpM7wCPHmf_Zdwtg4I79hof7I6iCg7vfCe1thz1UrE,344
|
3
|
+
suse_documentation_mcp_server-0.12.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
4
|
+
suse_documentation_mcp_server-0.12.0.dist-info/entry_points.txt,sha256=IEM7kH8YFWMMJCcp4hJGv5tHzHWxiR5lZ7jOyzRCHQA,88
|
5
|
+
suse_documentation_mcp_server-0.12.0.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
|
6
|
+
suse_documentation_mcp_server-0.12.0.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
server/search_suse_documentation.py,sha256=crkGswuhJYCpxcm3GH_DmrfPt2Y6yB-_bpR2yyIyrg4,4468
|
2
|
-
suse_documentation_mcp_server-0.10.0.dist-info/METADATA,sha256=VljD_uATB0Ax-rXmqub9mUjDXZ72DI_wUpzOqqegrPE,344
|
3
|
-
suse_documentation_mcp_server-0.10.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
4
|
-
suse_documentation_mcp_server-0.10.0.dist-info/entry_points.txt,sha256=IEM7kH8YFWMMJCcp4hJGv5tHzHWxiR5lZ7jOyzRCHQA,88
|
5
|
-
suse_documentation_mcp_server-0.10.0.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
|
6
|
-
suse_documentation_mcp_server-0.10.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|