File tree Expand file tree Collapse file tree
src/uipath_langchain/chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,20 +127,13 @@ def request_approval(
127127 """
128128 tool_call_id : str = tool_args .pop ("tool_call_id" )
129129
130- # If this is a server-side tool (not client-side), execution follows immediately
131- # after confirmation — mark this as the execution trigger so the bridge emits
132- # executingToolCall. For client-side tools, the execution interrupt sets this instead.
133- is_execution_trigger = not (tool .metadata or {}).get (
134- IS_CONVERSATIONAL_CLIENT_SIDE_TOOL , False
135- )
136-
137130 @durable_interrupt
138131 def ask_confirmation ():
139132 return {
140133 "tool_call_id" : tool_call_id ,
141134 "tool_name" : tool .name ,
142135 "input" : tool_args ,
143- "is_execution_phase" : is_execution_trigger ,
136+ "is_execution_phase" : False ,
144137 }
145138
146139 response = ask_confirmation ()
You can’t perform that action at this time.
0 commit comments