Skip to content

feat: add memorySpace to resource overwrite types#1586

Merged
mjnovice merged 2 commits intomainfrom
feat/add-memory-space-resource-overwrite
Apr 23, 2026
Merged

feat: add memorySpace to resource overwrite types#1586
mjnovice merged 2 commits intomainfrom
feat/add-memory-space-resource-overwrite

Conversation

@mjnovice
Copy link
Copy Markdown
Contributor

Summary

  • Add "memorySpace" to GenericResourceOverwrite.resource_type Literal so the ResourceOverwriteParser recognizes memory space resource overwrites during agent debug

Context

When running agents with episodic memory enabled, the Studio debug flow sends memorySpace resource overwrites (with name and folderPath). Without this change, ResourceOverwriteParser.parse() raises a ValidationError because memorySpace is not in the tagged union discriminator.

Test plan

  • Run agent with memory space configured in debug mode — no longer crashes on resource overwrite parsing

🤖 Generated with Claude Code

@github-actions github-actions Bot added the test:uipath-langchain Triggers tests in the uipath-langchain-python repository label Apr 23, 2026
Add "memorySpace" to the resource_type Literal in
GenericResourceOverwrite so that memory space resource overwrites
are recognized by the ResourceOverwriteParser during agent debug.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mjnovice mjnovice force-pushed the feat/add-memory-space-resource-overwrite branch from d3d7a09 to 63014f2 Compare April 23, 2026 19:28
Version 0.1.35 already exists on PyPI, causing the check-version-availability
CI check to fail. Bump to 0.1.36 and update lockfiles.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mjnovice mjnovice merged commit 59e427e into main Apr 23, 2026
118 of 122 checks passed
@mjnovice mjnovice deleted the feat/add-memory-space-resource-overwrite branch April 23, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants