-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: switch default tokenizer to o200k_base for better Gemini compat…
…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
- Loading branch information
1 parent
cf5749d
commit 64f6d1f
Showing
4 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,8 @@ | |
}, | ||
"gemini": { | ||
"model": "gemini-2.0-flash-thinking-exp-01-21" | ||
}, | ||
"tokenCount": { | ||
"encoding": "o200k_base" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters