Skip to content

fix(evaluator): add reason to PII detector response#4026

Merged
nina-kollman merged 2 commits intomainfrom
nk/pii-detector-reason
Apr 19, 2026
Merged

fix(evaluator): add reason to PII detector response#4026
nina-kollman merged 2 commits intomainfrom
nk/pii-detector-reason

Conversation

@nina-kollman
Copy link
Copy Markdown
Contributor

Summary

  • Adds reason: str | None field to PIIDetectorResponse generated model
  • Matches py-evaluator change in traceloop/py-evaluator#171

Test plan

  • Change is additive — existing SDK consumers are unaffected
  • Verify package builds correctly

🤖 Generated with Claude Code

Adds `reason: str | None` to `PIIDetectorResponse`, matching the
py-evaluator change (traceloop/py-evaluator#171).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 19, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • packages/traceloop-sdk/traceloop/sdk/generated/evaluators/response.py is excluded by !**/generated/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 126f45f5-afed-4cb5-acea-ddeee75838d0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch nk/pii-detector-reason

Comment @coderabbitai help to get the list of available commands and usage tips.

@nina-kollman nina-kollman merged commit c9508f8 into main Apr 19, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants