-
Notifications
You must be signed in to change notification settings - Fork 125
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
Internal Error #171
Comments
Hi, Same here, it worked yesterday and today with the same code it doesn't work anymore. OS : Ubuntu 22.04.3 LTS
Best regards, |
Same error here |
Same here |
I am also producing this error. It seems that HuggingFace has changed what kinds of requests the server expects. |
Same issue with my bot |
I'm trying to fix it. |
The bug has been solved, you can update hugchat to the latest version. What causes this bug: message id was randomly generated in previous versions and did not point to a specified message id in a conversation |
Many thx, ok here now. Best regards |
Thank you so much for your swift response and the efficient resolution of the issue! I've updated hugchat to the latest version and can confirm that the bug has been resolved. Your explanations regarding the origin of the bug are also greatly appreciated. I also want to express my gratitude for your work on the hugchat library. It is an invaluable tool for my projects, and your dedication to maintaining and improving it is greatly appreciated by both the community and myself. Keep up the great work! Cheers. |
Thank you so much |
Describe the bug
While using the
hugging-chat-api
version 0.3.11, I encountered an error where the application throws an error message "ERROR:root:Notype
found in response: {'message': 'Internal Error'}" and fails with aChatError
indicating "Server returns an error: Internal Error". This issue started occurring without any prior changes to the code that had been working correctly.To Reproduce
Steps to reproduce the behavior:
Login
class fromhugchat.login
.ChatBot
with the saved cookies.chatbot.query("Just a test prompt", web_search=False, stream=False)
.Expected behavior
I expected the function to return a response from the chatbot query without any errors, enabling the application to process the chatbot's response further.
Screenshots
Not applicable, as this is a console-based error.
Additional context
pip show hugchat
hugchat
library processes or expects certain response structures from the server. It's unclear whether this is due to a recent change in the API response format or an internal bug within the library.Best regards.
The text was updated successfully, but these errors were encountered: