Results / finish.unknown-value

Unfamiliar provider finish value

The provider returns a finish value that the library has not mapped.

Bug class: Finish reason mapped to the wrong value

The library maps the provider's finish value to a different canonical value, drops it, or fails on a value it doesn't know.

Code that branches on the finish reason takes the wrong branch, for example treating a content filter or a new value as a normal stop.

Requirements

LevelIdCheckRequirementProviders
MUSTresponse-returnedoutcome_is_returnedThe library hands back the response instead of reporting an error the provider never sent.All
MUSTfinish-is-otherfinish_isThe library reports a finish outside the known values, not a familiar one or none.All
MUSTtext-reportedtext_matches_truthThe text is reported exactly as the provider sent it.All
SHOULDraw-finish-reportedraw_finish_matches_truthThe provider's raw finish value is preserved.All

Fixtures