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

fix: ensure KurtCache hashes the new forceSchemaConstrainedTokens option #65

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

jemc
Copy link
Collaborator

@jemc jemc commented Dec 10, 2024

This ensures that changing the option will correctly cause a cache miss. But leaving it at the default value of false won't change existing hashes because false is treated as "missing" in the mayHash internal function.

… option

This ensures that changing the option will correctly cause a cache miss. But leaving it at the
default value of `false` won't change existing hashes because `false` is treated as "missing" in the
`mayHash` internal function.
@jemc jemc merged commit 2ac7233 into main Dec 10, 2024
1 check passed
@jemc jemc deleted the fix/cache-force-schema-constrained branch December 10, 2024 16:27
Copy link

🎉 This PR is included in version @formula-monks/kurt-cache-v1.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants