Is there an error in the underlying code?

 

When I use the cut-sweep>options>followpath>Tangency DirectionVector function, my code adjusts the parameters according to the sw_api help instruction, but when I run the code, it will change to cut-sweep>options>followpath>natural or run successfully without any feature actions