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 cli token suppression list parsing. #123

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

VulumeCode
Copy link
Contributor

Providing a list for token suppression (´--suppress_tokens="12681, 3081, 301"´) would always cause ´AssertionError: suppress_tokens must be a list´.

The string was first parsed to a list, then the original string was typechecked for list type. This cannot possibly succeed.

@jongwook jongwook merged commit 520796a into openai:main Sep 26, 2022
@VulumeCode VulumeCode deleted the fixTokenSuppression branch September 26, 2022 15:33
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.

2 participants