Skip to content

access Message.text in PlainJSON#1454

Merged
jmartin-tech merged 1 commit intoNVIDIA:mainfrom
jmartin-tech:fix/plainjson-detection
Oct 31, 2025
Merged

access Message.text in PlainJSON#1454
jmartin-tech merged 1 commit intoNVIDIA:mainfrom
jmartin-tech:fix/plainjson-detection

Conversation

@jmartin-tech
Copy link
Collaborator

Fix #1416

Acknowledgment to @NoahOksuz for offering an initial pass at this in #1443.

  • correctly access the response text during detection
  • scope except to JSONDecodeError

The loose scope of except previously swallowed incorrect behavior exception

Verification

List the steps needed to make sure this thing works

  • automation testing passes

* correctly access the response text during detection
* scope except to JSONDecodeError

The loose scope of except previously swallowed incorrect behavior exception

Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
@jmartin-tech jmartin-tech merged commit 0b748a3 into NVIDIA:main Oct 31, 2025
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2025
@jmartin-tech jmartin-tech deleted the fix/plainjson-detection branch October 31, 2025 21:59
@jmartin-tech jmartin-tech added bug Something isn't working detectors work on code that inherits from or manages Detector quality-accuracy This affects result quality/reliability labels Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working detectors work on code that inherits from or manages Detector quality-accuracy This affects result quality/reliability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError interpreted as passing detection in goodside.PlainJSON detector

1 participant