Skip to content

Commit c12df78

Browse files
committed
Update tests
1 parent 554df55 commit c12df78

File tree

2 files changed

+105
-170
lines changed

2 files changed

+105
-170
lines changed

plugins/communication_protocols/cli/src/utcp_cli/cli_communication_protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def _substitute_utcp_args(self, command: str, tool_args: Dict[str, Any]) -> str:
271271
Command string with placeholders replaced by actual values
272272
"""
273273
# Pattern to match UTCP_ARG_argname_UTCP_END
274-
pattern = r'UTCP_ARG_([^_]+(?:_[^_]+)*)_UTCP_END'
274+
pattern = r'UTCP_ARG_(.+?)_UTCP_END'
275275

276276
def replace_placeholder(match):
277277
arg_name = match.group(1)

0 commit comments

Comments
 (0)