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