-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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:GitHubLoader to Handle Binary Files #1337
Conversation
Someone is attempting to deploy a commit to the Arc53 Team on Vercel. A member of the Team first needs to authorize it. |
@ManishMadan2882, can you please take a look at this PR |
I am not the moderator @Devparihar5. |
Sorry, I mentioned you by mistake |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Fix GitHubLoader to Handle Binary Files
fetch_file_content
method to skip decoding of binary files (e.g., images, pickled models).decoded_content = base64.b64decode(content["content"]).decode("utf-8") UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte