feat(platform): add guardrailName to guardrails validation payload#1746
feat(platform): add guardrailName to guardrails validation payload#1746ctiliescuuipath wants to merge 1 commit into
Conversation
Include the guardrail name in the request payload sent to the validation endpoint so the server can identify which guardrail is being evaluated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds the guardrailName field to the guardrails validation request payload so the backend can identify which guardrail is being evaluated, and bumps uipath-platform to 0.1.74 with lockfile updates.
Changes:
- Include
guardrailNameinGuardrailsService.evaluate_guardrail()payload. - Update guardrails service tests to assert
guardrailNameis present in the outgoing request. - Bump
uipath-platformversion to0.1.74and updateuv.lockfiles accordingly.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/uipath/uv.lock | Updates locked uipath-platform version and lock options metadata. |
| packages/uipath-platform/uv.lock | Updates locked uipath-platform version. |
| packages/uipath-platform/tests/services/test_guardrails_service.py | Adds assertions that guardrailName is present in the request payload. |
| packages/uipath-platform/src/uipath/platform/guardrails/_guardrails_service.py | Adds guardrailName to the validation request payload. |
| packages/uipath-platform/pyproject.toml | Bumps package version to 0.1.74. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| assert "input" in request_payload | ||
| assert "parameters" in request_payload | ||
| assert "guardrailName" in request_payload | ||
| assert request_payload["guardrailName"] == "PII detection guardrail" |
|
|
|
||
| [options] | ||
| exclude-newer = "2026-06-21T14:10:18.2328398Z" | ||
| exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. |
There was a problem hiding this comment.
was produced on uv sync i see this line exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. in multiple py projects agents core



Summary
guardrailNamefield to the guardrails validation request payload so the server can identify which guardrail is being evaluateduipath-platformversion to 0.1.74Test plan
test_guardrails_service.pyto assertguardrailNameis included in the payloadcd packages/uipath-platform && pytest🤖 Generated with Claude Code