fix: ignore wait_for_previous argument from Gemini MCP clients (#322)

This commit is contained in:
dbshadow
2026-04-12 14:14:00 +08:00
committed by GitHub
parent abc99f4154
commit 007acca59a
+1
View File
@@ -1370,6 +1370,7 @@ def handle_request(request):
"error": {"code": -32602, "message": f"Invalid value for parameter '{key}'"},
}
try:
tool_args.pop("wait_for_previous", None)
result = TOOLS[tool_name]["handler"](**tool_args)
return {
"jsonrpc": "2.0",