We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 137da48 commit eb88284Copy full SHA for eb88284
1 file changed
src/deepset_mcp/main.py
@@ -87,7 +87,6 @@ async def get_pipeline(pipeline_id: str) -> dict[str, Any]:
87
88
89
@mcp.tool()
90
-@async_to_sync
91
async def get_component_schemas() -> dict[str, Any]:
92
"""Retrieves the schemas for all available Haystack components from the deepset API.
93
@@ -96,7 +95,7 @@ async def get_component_schemas() -> dict[str, Any]:
96
95
"""
97
try:
98
async with DeepsetClient() as client:
99
- return await client.get_component_schemas()
+ return await client.request("/haystack/components")
100
except Exception as e:
101
return {"error": str(e)}
102
0 commit comments