Skip to content

chore: use hitl methods from core #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 17, 2025
Merged

Conversation

radu-mocanu
Copy link
Contributor

@radu-mocanu radu-mocanu commented Jun 17, 2025

New test-core-dev-version label:

  • add this label to test the changes against a custom uipath dev version
  • the dev version must be specified in PR's title like so: chore: extract to core (validate with uipath version 2.0.65.dev1004030443)

Github actions updates:

  • skip normal tests and lint when test-core-dev-version label si used
  • added test-custom-version.yml and lint-custom-version.yml to target a specific uipath version from testpypi
  • when both build:dev and test-core-dev-version labels are used, publish a dev uipath-langchain version relying on the uipath dev version

Runtime updates:

  • use HitlReader and HitlProcessor from core
  • special handling for default escalation scenarios (cast output from bool to str)
  • only pass str value (event prefix) for api triggers

Development Package

  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath-llamaindex==0.0.25.dev1000320095",

  # Any version from PR
  "uipath-llamaindex>=0.0.25.dev1000320000,<0.0.25.dev1000330000"
]

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

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

@radu-mocanu radu-mocanu self-assigned this Jun 17, 2025
@radu-mocanu radu-mocanu added the build:dev Create a dev build from the pr label Jun 17, 2025
@radu-mocanu radu-mocanu force-pushed the chore/use-core-hitl-methods branch from 2948878 to 5b2e4c5 Compare June 17, 2025 11:58
@radu-mocanu radu-mocanu requested a review from cristipufu June 17, 2025 12:05
@radu-mocanu radu-mocanu force-pushed the chore/use-core-hitl-methods branch from 5b2e4c5 to 350440c Compare June 17, 2025 12:06
@radu-mocanu radu-mocanu force-pushed the chore/use-core-hitl-methods branch from 350440c to 3b181fa Compare June 17, 2025 12:07
@radu-mocanu radu-mocanu merged commit c6ad791 into main Jun 17, 2025
16 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants