Skip to content

Commit 7ec539d

Browse files
committed
refactor: Remove timeout decorators from list_tools and call_tool functions in mcp_tools.py to streamline request handling
1 parent 56da9bd commit 7ec539d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/upsonicai/server/tools/server/mcp_tools.py

-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ async def managed_session(command: str, args: list, env: dict | None = None):
7171

7272

7373
@app.post(f"{prefix}/tools")
74-
@timeout(30.0)
7574
async def list_tools(request: ListToolsRequest):
7675
print("Listing tools...")
7776

@@ -88,7 +87,6 @@ async def list_tools(request: ListToolsRequest):
8887

8988

9089
@app.post(f"{prefix}/call_tool")
91-
@timeout(30.0)
9290
async def call_tool(request: ToolRequest):
9391
print(f"Received tool call request: {request}")
9492

0 commit comments

Comments
 (0)