Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch default tokenizer to o200k_base for better Gemini compat… #2

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

eastlondoner
Copy link
Owner

…ibility

  • Changed default tokenizer to o200k_base for better compatibility with Gemini models

  • Added configurable tokenizer support through tokenCount.encoding in config file

  • Updated documentation to reflect new tokenizer configuration options

Fixes #1

…ibility

- Changed default tokenizer to o200k_base for better compatibility with Gemini models

- Added configurable tokenizer support through tokenCount.encoding in config file

- Updated documentation to reflect new tokenizer configuration options

Fixes #1
Comment on lines 101 to 103
tokenCount: {
encoding: this.config.tokenCount?.encoding || 'o200k_base',
},
Copy link
Owner Author

Choose a reason for hiding this comment

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

unfortunately the repomix web api doesn't allow us to pass this parameter at the moment so remove this

@eastlondoner eastlondoner merged commit 49b7078 into main Feb 5, 2025
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.

EXAMPLE ISSUE: Allow repomix configuration to be passed in as an option
1 participant