From 14f5e3166545f964ced5ade4c3167d4b0e477027 Mon Sep 17 00:00:00 2001 From: Mayank Jha Date: Fri, 27 Feb 2026 00:13:40 -0800 Subject: [PATCH 1/2] fix: update agent samples to use "agents" key in uipath.json v2.10.0 introduced coded functions, changing the "functions" key to generate type="function" schemas. Agent samples must now use the new "agents" key to preserve type="agent" schema behavior. Co-Authored-By: Claude Sonnet 4.6 --- samples/asset-modifier-agent/uipath.json | 2 +- samples/document-understanding-agent/uipath.json | 2 +- samples/list-mcp-agent/uipath.json | 2 +- samples/llm_chat_agent/uipath.json | 2 +- samples/multi-output-agent/uipath.json | 2 +- samples/weather_tools/uipath.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/asset-modifier-agent/uipath.json b/samples/asset-modifier-agent/uipath.json index 9b02c2654..6c8bc7920 100644 --- a/samples/asset-modifier-agent/uipath.json +++ b/samples/asset-modifier-agent/uipath.json @@ -1,5 +1,5 @@ { - "functions": { + "agents": { "main": "main.py:main" } } diff --git a/samples/document-understanding-agent/uipath.json b/samples/document-understanding-agent/uipath.json index 2f1e23ce5..88c369928 100644 --- a/samples/document-understanding-agent/uipath.json +++ b/samples/document-understanding-agent/uipath.json @@ -10,5 +10,5 @@ "directoriesExcluded": [], "includeUvLock": true }, - "functions": {"main": "main.py:main"} + "agents": {"main": "main.py:main"} } \ No newline at end of file diff --git a/samples/list-mcp-agent/uipath.json b/samples/list-mcp-agent/uipath.json index 9b02c2654..6c8bc7920 100644 --- a/samples/list-mcp-agent/uipath.json +++ b/samples/list-mcp-agent/uipath.json @@ -1,5 +1,5 @@ { - "functions": { + "agents": { "main": "main.py:main" } } diff --git a/samples/llm_chat_agent/uipath.json b/samples/llm_chat_agent/uipath.json index 77b646626..8e1fa8924 100644 --- a/samples/llm_chat_agent/uipath.json +++ b/samples/llm_chat_agent/uipath.json @@ -1,5 +1,5 @@ { - "functions": { + "agents": { "agent": "agent.py:main" } } diff --git a/samples/multi-output-agent/uipath.json b/samples/multi-output-agent/uipath.json index 681601f5f..0b4972030 100644 --- a/samples/multi-output-agent/uipath.json +++ b/samples/multi-output-agent/uipath.json @@ -10,7 +10,7 @@ "directoriesExcluded": [], "includeUvLock": true }, - "functions": { + "agents": { "main": "main.py:main" } } diff --git a/samples/weather_tools/uipath.json b/samples/weather_tools/uipath.json index ee698d9df..63268db8b 100644 --- a/samples/weather_tools/uipath.json +++ b/samples/weather_tools/uipath.json @@ -1,5 +1,5 @@ { - "functions": { + "agents": { "main": "main.py:main" } } \ No newline at end of file From 4c1b6dae1535ef8ddc86c62d2d474b356cdbfaa3 Mon Sep 17 00:00:00 2001 From: Mayank Jha Date: Fri, 27 Feb 2026 00:23:22 -0800 Subject: [PATCH 2/2] fix: move calculator sample to "agents" key in uipath.json Co-Authored-By: Claude Sonnet 4.6 --- samples/calculator/uipath.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/calculator/uipath.json b/samples/calculator/uipath.json index 9b02c2654..6c8bc7920 100644 --- a/samples/calculator/uipath.json +++ b/samples/calculator/uipath.json @@ -1,5 +1,5 @@ { - "functions": { + "agents": { "main": "main.py:main" } }