Skip to content

Conversation

@fdrose
Copy link
Contributor

@fdrose fdrose commented Jul 7, 2025

Have you read the Contributing Guidelines?

Issue #

Describe your changes

This PR adds tests for conversational weights logic. We check that mixed inputs works as expected (when some messages have weight and other don't) and the case when all the weights are present.

Also we check for the correct error message when user provided weight different from 0 or 1 (we don't allow that), and there are two possible errors, first for the type (it must be integer), second for the value (if integer check is passed then we check if it is 0 or 1).

@fdrose fdrose marked this pull request as ready for review July 8, 2025 10:03
@fdrose fdrose merged commit b8a91fc into main Jul 8, 2025
10 checks passed
@fdrose fdrose deleted the mabraham/eng-18404 branch July 8, 2025 14:05
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.

4 participants