Open
Conversation
* set provider default option * validate numeric chunk size option * drop unsed CHUNK_SIZE env variable * remove useless default argument values * fix chunk teration logic
* Removed unnecessary blank lines for improved readability * Ensured consistent formatting across files
* Upgraded @anthropic-ai/sdk to version 0.69.0 * Updated rimraf to version 6.1.0 * Various other dependency updates and removals for improved compatibility and performance
* Use p50k_base instead of cl100k_base, because 50k is closer to 65k which is supposedly used by Anthropic. * pass tokenizer also to repomix
* Added a new function to handle retries on rate limit errors when calling the Claude API. * Updated the output to display the number of input tokens used in the response. * Minor adjustments to console log formatting for improved readability. * Update README
The old model claude sonnet 3.7 is already deprecated by Anthropic.
|
@niklub You planning on merging this change? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Details
feat: use claude sonnet 4.5 model– updates the default Anthropic model, retiring Sonnet 3.7 which is now deprecated.feat: implement retry logic for Claude API calls– introduces a reusable retry helper for rate‑limit errors, prints input token counts in responses, improves console formatting, and syncs the README.feat: expose tokenizer as command line option– adds a--tokenizerflag, switches the default top50k_base, and ensures the chosen tokenizer flows into repomix.fix: argument parsing and chunk iteration– sets a default provider, validates chunk size inputs, removes the unusedCHUNK_SIZEenv var and redundant defaults, and corrects chunk iteration logic.chore: update dependencies– bumps@anthropic-ai/sdkto 0.69.0,rimrafto 6.1.0, and freshens other dependencies for compatibility.chore: upgrade eslint parser, run audit fix– keeps linting/tooling current and resolves npm audit issues.style: clean up whitespace– normalizes blank lines/formatting across touched files.Closes #1