Skip to content

feat: add is_case_manager field in agent declaration#1594

Merged
dianagrecu-uipath merged 3 commits intomainfrom
feat/cm-agent
Apr 29, 2026
Merged

feat: add is_case_manager field in agent declaration#1594
dianagrecu-uipath merged 3 commits intomainfrom
feat/cm-agent

Conversation

@dianagrecu-uipath
Copy link
Copy Markdown
Contributor

Add is_case_manager field in agent declaration

@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 Apr 28, 2026
Comment on lines +1225 to +1226
if hasattr(metadata, "is_case_manager"):
return metadata.is_case_manager
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this is redundant, if metadata is present then it should always have is_case_manager since it's not an optional field.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in frontend it is an optional field.

Copy link
Copy Markdown
Contributor

@andreiancuta-uipath andreiancuta-uipath Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but in the model it has a default. so only metadata needs to be checked


def test_is_case_manager_true_when_metadata_set(self):
"""Returns True when metadata.is_case_manager is True."""
json_data = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could extract a helper for this and reduce duplication

@github-actions
Copy link
Copy Markdown

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@dianagrecu-uipath dianagrecu-uipath merged commit 79756aa into main Apr 29, 2026
154 checks passed
@dianagrecu-uipath dianagrecu-uipath deleted the feat/cm-agent branch April 29, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations 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.

4 participants