Skip to content

feat: coded functions#1254

Merged
cristipufu merged 1 commit intomainfrom
fix/functions
Feb 27, 2026
Merged

feat: coded functions#1254
cristipufu merged 1 commit intomainfrom
fix/functions

Conversation

@cristipufu
Copy link
Member

@cristipufu cristipufu commented Feb 3, 2026

Description

  • Add agents entrypoint type alongside existing functions in uipath.json, allowing agent scripts to be registered
    separately from plain functions
  • Breaking change: The runtime schema type field was previously hardcoded to "agent" for all entrypoints. It now
    correctly reflects the entrypoint type, "function" for entries in functions and "agent" for entries in agents.
    Existing functions entrypoints that were previously reported as "agent" will now be reported as "function".
  • Update entrypoint discovery, resolution, and CLI warning messages to handle both functions and agents sections
  • Bump version to 2.10.0

Breaking changes

Entrypoints declared under "functions" in uipath.json previously had their schema type set to "agent". They now correctly resolve to "function".

If you have entrypoints that should be treated as agents, move them from the "functions" section to the new "agents" section in uipath.json.

Development Package

  • Use uipath pack --nolock to get the latest dev build from this PR (requires version range).
  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath==2.10.0.dev1012545080",

  # Any version from PR
  "uipath>=2.10.0.dev1012540000,<2.10.0.dev1012550000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath = { index = "testpypi" }

[tool.uv]
override-dependencies = [
    "uipath>=2.10.0.dev1012540000,<2.10.0.dev1012550000",
]

@cristipufu cristipufu self-assigned this Feb 3, 2026
@cristipufu cristipufu added the build:dev Create a dev build from the pr label Feb 3, 2026
@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Feb 3, 2026
@cristipufu cristipufu merged commit 6c1f50e into main Feb 27, 2026
91 of 95 checks passed
@cristipufu cristipufu deleted the fix/functions branch February 27, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:dev Create a dev build from the pr test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant