Repository navigation
chore(deps): require uipath-platform 0.3.23 for memory search executionType - #1259
Merged
Merged
Conversation
…onType Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The raw retry omits memoryType: 1, so the shared endpoint no longer identifies it as an escalation search, and the fallback test does not catch the omission.
1 open issue
What changed in this PR
Updates the SDK dependency to support execution-type reporting for memory searches and JSON-string escalation answers.
Changes:
- Raises
uipath-platformto 0.3.23 and releases version 0.21.8. - Updates escalation tests for SDK parsing and raw fallback behavior.
- Clarifies the fallback comment without changing agent logic.
| File | Description |
|---|---|
uv.lock |
Locks updated SDK and package versions. |
tests/agent/tools/test_escalation_memory.py |
Covers string-answer parsing and validation fallback. |
src/uipath_langchain/agent/tools/escalation_memory.py |
Clarifies when raw fallback occurs. |
pyproject.toml |
Raises dependency floor and package version. |
Review effort: Balanced
JosephMar
approved these changes
Dec 2, 2026
0.3.23 moved escalation search to the shared Memory search route, where a request without memoryType searches every memory type. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Raises the
uipath-platformfloor to>=0.3.23, <0.4.0and bumps the version to 0.21.8.LLMOps is adding a count of how often deployed agent runs put each memory into their prompt (UiPath/llm-observability#3580), so users can see whether a memory is actually used in production. 0.3.23 (UiPath/uipath-python#2035) is what makes langchain agents report that:
memory.search_async(the dynamic few-shot node) andmemory.escalation_search_async(escalation memory) move to the vNext route,POST /llmopstenant_/api/Memory/{id}/search. Each request now carries the run'sexecutionType(Debug or Runtime, fromresolve_execution_type(), the value agent spans use). LLMOps counts only Runtime searches.EscalationMemoryMatchnow parsesanswerfrom the JSON string LLMOps returns. Before, every escalation hit failed the SDK model, andescalation_memory.pyalways took its raw-payload fallback.The fallback stays for an answer that isn't valid JSON, which the SDK still rejects; its comment is updated to say so. It now goes to the shared vNext route too, so it sends
memoryType: 1. Without it, the route searches every memory type. It still sends noexecutionType, so a broken memory isn't counted as used.Tests in
tests/agent/tools/test_escalation_memory.py:test_returns_cached_answer_when_sdk_response_has_string_answerbuilt itsValidationErrorby validating a JSON-string answer, which 0.3.23 accepts. It now checks that such an answer, with capitalizedOutput/Outcomekeys, comes back through the SDK response with no raw request.test_falls_back_to_raw_search_when_sdk_rejects_answer, which uses an answer that isn't JSON and checks the raw request sendsmemoryType: 1.Lock changes:
uipath-platform0.3.21 → 0.3.23.Tests: full suite passes except
test_create_file_tool.py::test_symlink_out_of_the_workspace_is_rejected, a local Windows symlink-privilege error (WinError 1314) that also fails onmain.ruff check,ruff format --checkandmypy srcare clean.🤖 Generated with Claude Code