Skip to content

Commit 1329fe1

Browse files
committed
fix: send FolderKey on mcp runtime abort
1 parent 5767328 commit 1329fe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uipath_mcp/_cli/_runtime/_runtime.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ async def _on_runtime_abort(self) -> None:
573573
response = await self._uipath.api_client.request_async(
574574
"POST",
575575
f"agenthub_/mcp/{self.slug}/runtime/abort?runtimeId={self._runtime_id}",
576+
headers={"X-UIPATH-FolderKey": self.context.folder_key},
576577
)
577578
if response.status_code == 202:
578579
logger.info(

0 commit comments

Comments
 (0)