From c968efa42aec8371a2973ceb3f4d27394a8cc4cd Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 28 Oct 2025 16:38:53 +0800 Subject: [PATCH] Revert "Fix search client reply argument order" This reverts commit 7a2cf829c7bc8dbbbb85dfe4d7e3d93630982112. --- mcp/src/openisle_mcp/search_client.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mcp/src/openisle_mcp/search_client.py b/mcp/src/openisle_mcp/search_client.py index 4c81ed4f7..694e9786c 100644 --- a/mcp/src/openisle_mcp/search_client.py +++ b/mcp/src/openisle_mcp/search_client.py @@ -111,9 +111,8 @@ class SearchClient: async def reply_to_comment( self, comment_id: int, - content: str, - *, token: str | None = None, + content: str, captcha: str | None = None, ) -> dict[str, Any]: """Reply to an existing comment and return the created reply.""" @@ -145,9 +144,8 @@ class SearchClient: async def reply_to_post( self, post_id: int, - content: str, - *, token: str | None = None, + content: str, captcha: str | None = None, ) -> dict[str, Any]: """Create a comment on a post and return the backend payload."""