Closed reflectored closed 5 months ago
It seems like a uncommon error from huggingchat and I cannot reproduce it, we throw the exception and let developers handle this error for now
This issue was marked as stale because of inactivity.
This issue was closed because of inactivity.
Describe the bug JSONDecodeError is hit while processing a particular response of the huggingface Chat API.
To Reproduce Run the following query, with web_search enabled (cherry-pick the fix for webSearch first #193, if not merged), and print the result:
Expected behavior I expect the query to return a result successfully.
Screenshots
Additional context What Operating System are you using? Ubuntu What Python version are you using? 3.11.2 What version of hugchat are you using? This branch reflectored:master