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: change type and function to calc tokens in message #166

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

Juzov
Copy link
Collaborator

@Juzov Juzov commented Jun 26, 2023

fixes #164

A hack, we should raise an issue for tiktoken

@Juzov Juzov marked this pull request as ready for review June 26, 2023 21:17
@Juzov Juzov requested a review from williamhogman June 26, 2023 21:17
@Juzov Juzov changed the title fix: change type and function for tiktoken max tokens fix: change type and function to calc tokens in message Jun 26, 2023
@williamhogman williamhogman merged commit f9899b4 into main Jun 27, 2023
4 of 5 checks passed
@williamhogman williamhogman deleted the fix-tiktoken-types branch June 27, 2023 20:35
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.

Cannot Compile
2 participants