Skip to content

Fix role validation error message to match allowed roles#577

Closed
dhunganapramod9 wants to merge 1 commit intokarpathy:masterfrom
dhunganapramod9:fix/role-validation-error-message
Closed

Fix role validation error message to match allowed roles#577
dhunganapramod9 wants to merge 1 commit intokarpathy:masterfrom
dhunganapramod9:fix/role-validation-error-message

Conversation

@dhunganapramod9
Copy link

The validator only allows user and assistant, but the error text said 'system' was allowed. Updated the message to: "Must be 'user' or 'assistant'".

Copy link
Collaborator

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is a duplicate of #414 so I'll go ahead and close it.

@svlandeg svlandeg closed this Feb 28, 2026
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.

2 participants