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

Unicode logging reliability fix ooba_client.py #70

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

harlyh
Copy link
Contributor

@harlyh harlyh commented Jul 19, 2023

Looks like the oobabooga developer was the one who caused this Unicode issue.

Refactored the fix from the last pull request to enable it only when case it's actually needed. I don't trust developers who do everything on the main branch all the time not repeatedly causing this, so the bugfix is only applied when needed.

This commit ensures that this never happens either:
WindowsTerminal_iMtGqTAi06

We want to see this:
WindowsTerminal_Zp21zzsVaA

Obviously, this isn't that bad compared to the situation from 2 days ago when the issue caused bot failures.

Looks like oobabooga developer was the one who caused this Unicode issue. Refactored the code to enable the "bugfix" only in case it's actually needed. I don't trust developers who do everything on the main branch all the time not repeatedly cause this, so the bugfix is only applied when needed.
Copy link
Owner

@chrisrude chrisrude left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for the fix, and apologies for the delay in the review.

@chrisrude chrisrude merged commit 2f2b5cb into chrisrude:main Aug 1, 2023
3 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