Skip to content

test(items): document refusal None invariant#3751

Merged
seratch merged 1 commit into
mainfrom
fix/document-refusal-none-invariant
Jul 7, 2026
Merged

test(items): document refusal None invariant#3751
seratch merged 1 commit into
mainfrom
fix/document-refusal-none-invariant

Conversation

@seratch

@seratch seratch commented Jul 7, 2026

Copy link
Copy Markdown
Member

This pull request documents why ItemHelpers.extract_last_content intentionally does not normalize None refusal values. Supported provider paths only create refusal parts after receiving refusal text, while normal model validation rejects None; a focused test preserves this distinction from output-text handling and discourages parity changes based solely on synthetic model_construct objects.

ref:

@seratch seratch added this to the 0.18.x milestone Jul 7, 2026
@seratch seratch merged commit 3063306 into main Jul 7, 2026
9 checks passed
@seratch seratch deleted the fix/document-refusal-none-invariant branch July 7, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant