suse-documentation-mcp-server 0.10.0__py3-none-any.whl → 0.11.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.
@@ -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}")
@@ -106,6 +107,7 @@ async def get_web_search_results(input_data: Any) -> str:
106
107
  # Ensure query is a string
107
108
  if not isinstance(query, str):
108
109
  raise ValueError("The extracted query must be a string.")
110
+ print("Before web search:", query)
109
111
  return get_web_search_results_from_oi(query)
110
112
  except Exception as e:
111
113
  return f"Error performing web search: {str(e)}\n\n{query}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: suse-documentation-mcp-server
3
- Version: 0.10.0
3
+ Version: 0.11.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=sd0Er1Hfe3L8YRxuo9Swy-mpypTXm50AmQ3CSSVHS9A,4572
2
+ suse_documentation_mcp_server-0.11.0.dist-info/METADATA,sha256=MHSb2o-onhyWgxxJrjpD-0eFViaApxArk2Wjqy7PVB8,344
3
+ suse_documentation_mcp_server-0.11.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
+ suse_documentation_mcp_server-0.11.0.dist-info/entry_points.txt,sha256=IEM7kH8YFWMMJCcp4hJGv5tHzHWxiR5lZ7jOyzRCHQA,88
5
+ suse_documentation_mcp_server-0.11.0.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
6
+ suse_documentation_mcp_server-0.11.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,,