Compare commits

...

2 Commits

Author SHA1 Message Date
Tim
7a2cf829c7 Fix search client reply argument order 2025-10-28 16:32:53 +08:00
Tim
12329b43d1 Merge pull request #1113 from nagisa77/codex/pass-bearer-token-to-backend-apis
feat: forward Authorization header for MCP backend requests
2025-10-28 16:22:17 +08:00

View File

@@ -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."""