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

fixbug#979 : RuntimeError: fail to reduce message length #986

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

azurewtl
Copy link
Contributor

#979
Features

  • updated MAX-TOKEN according to openai document
  • minior optimization of code style
  • fixed issues RuntimeError: fail to reduce message length

Influence
before gpt-3.5-turbo will raise error, this pr fixed it

- minior optimization of code style
- fixed issues `RuntimeError: fail to reduce message length`
@azurewtl
Copy link
Contributor Author

I can't read the message of unit test.
This PR update token_max of openai according to latest document, which solve a known issue.
could someone help to on get this PR through, otherwise I need workaround on my own project

Copy link
Owner

@geekan geekan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@geekan geekan merged commit 07672fc into geekan:main Mar 15, 2024
0 of 2 checks passed
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