Skip to content

feat: report content-filter stops as a safety rating - #40

Merged
TheGreatAxios merged 1 commit into
mainfrom
feat/report-content-filter-incomplete
Nov 4, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
feat/report-content-filter-incomplete

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-12063

An incomplete response with incomplete_details.reason: "content_filter" (streaming response.incomplete or a JSON body) now emits inference.safety_rating with blockReason: "content_filter" before usage, so callers can tell a filtered turn from a truncated one. Matches Interchange's incompleteReasonEvent. Other reasons unchanged. README documents it.

Stacked on #38.

Verification: bun run check, bun run test:e2e, bun run build pass.

@linear-code

linear-code Bot commented Nov 4, 2026

Copy link
Copy Markdown

CL-12063

@TheGreatAxios
TheGreatAxios changed the base branch from fix/nullable-buffered-error-fields to main November 4, 2026 05:02
@TheGreatAxios
TheGreatAxios force-pushed the feat/report-content-filter-incomplete branch from f763295 to 16cd79a Compare November 4, 2026 05:02
@TheGreatAxios
TheGreatAxios merged commit 3045171 into main Nov 4, 2026
2 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.

1 participant