Skip to content

Conversation

@CodeWithKyrian
Copy link
Owner

This PR simplifies the Tokenizer class by removing the redundant modelMaxLength property. This value is already accessible via the getConfig method, so maintaining a separate property was unnecessary duplication.

Additionally, this change updates the visibility of $specialTokens and $addedTokens from protected to public. This allows consumers to access these token lists directly without needing strictly defined getters, offering more flexibility for integrations.

@CodeWithKyrian CodeWithKyrian merged commit 7ade08b into main Feb 6, 2026
5 checks passed
@CodeWithKyrian CodeWithKyrian deleted the refactor/simplify-tokenizer-properties branch February 6, 2026 10:20
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