Skip to content

feat: use WaitJobRaw for process_tool#635

Open
GabrielVasilescu04 wants to merge 1 commit intomainfrom
feature/use-job-raw-trigger
Open

feat: use WaitJobRaw for process_tool#635
GabrielVasilescu04 wants to merge 1 commit intomainfrom
feature/use-job-raw-trigger

Conversation

@GabrielVasilescu04
Copy link
Contributor

@GabrielVasilescu04 GabrielVasilescu04 commented Feb 26, 2026

Description

Currently, if the job started by the process_tool fails, then the agent execution fails as a whole. Replace the WaitJob trigger with WaitJobRaw which should prevent this from happening. If the job's state is faulted, WaitJob raises an error, but WaitJobRaw simply returns the job object.
New trigger type was addded in this PR: https://github.com/UiPath/uipath-platform-python/pull/8

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-langchain==0.7.8.dev1006353128",

  # Any version from PR
  "uipath-langchain>=0.7.8.dev1006350000,<0.7.8.dev1006360000"
]

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

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

[tool.uv]
override-dependencies = [
    "uipath-langchain>=0.7.8.dev1006350000,<0.7.8.dev1006360000",
]

@GabrielVasilescu04 GabrielVasilescu04 force-pushed the feature/use-job-raw-trigger branch from 4ef24e3 to 0e71565 Compare February 26, 2026 15:51
@GabrielVasilescu04 GabrielVasilescu04 marked this pull request as ready for review February 26, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant