open-interpreter
open-interpreter copied to clipboard
Keep getting JSONDecodeError when using computer.browser
trafficstars
Describe the bug
the computer.browser.search keeps returning this error:
971 return complexjson.loads(self.text, **kwargs)
972 except JSONDecodeError as e:
973 # Catch JSON-related errors and raise as requests.JSONDecodeError
974 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError
--> 975 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
JSONDecodeError: Expecting value: line 2 column 1 (char 1) ```
### Reproduce
computer.browser.search
### Expected behavior
it was returning search results just fine a week ago
### Screenshots
_No response_
### Open Interpreter version
0.2.4
### Python version
3.11
### Operating System name and version
linux
### Additional context
_No response_
Seems like they made some change to the computer API response format
In which one? I don't see any fresh releases.
I'm encountering the same; I was encountering this on an earlier version of interpreter, but after updating, same error.
This is related to the search api url being dead.
I see it 's been fixed now. Thank you!