Proofline

The new fallback in both review models returns non-string cause entries unchanged instead of rejecting them.

Om-Beast/sdk-python#1Reviewed commit 399f948

Warning · Logic

Impact

A response containing a JSON `null` cause now yields `None` in the parsed model, where callers expect a string and may call string methods.

Recommended action

Check `isinstance(data, str)` before each fallback and raise `TypeError` for non-strings while preserving unknown strings.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Incomplete
Started
Completed