open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

I can't input my API

Open Zkj07892 opened this issue 1 year ago • 9 comments

Describe the bug

I can't input my API . The first issue is that I can't see what I'm typing when I input, but after pressing Enter, there's a display of abbreviations. The second issue is that even when I input the correct OPENAIAPIKEY, it still shows an error. like this : error uploading: HTTPSConnectionPool(host='app.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)')))

Reproduce

error uploading: HTTPSConnectionPool(host='app.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)')))

Expected behavior

I'm not a professional, and my English isn't great. I would like a manual for common installation and usage issues that I can consult to quickly resolve problems.

Screenshots

No response

Open Interpreter version

0.2.0

Python version

3.10.6

Operating System name and version

windows 10

Additional context

No response

Zkj07892 avatar Jan 05 '24 19:01 Zkj07892

What command do you use to lauch interpreter? Where do you put in the api url?

Notnaton avatar Jan 06 '24 12:01 Notnaton

After downloading the file and extracting it, when I enter "cmd" in the address bar to access the console, then "interpreter," and press Enter, I can't see what I'm typing after "OPENAI KEY:"; it seems like an issue.(Machine translation)

Zkj07892 avatar Jan 07 '24 10:01 Zkj07892

i have got a new problem after input :" interpreter " from httpx import URL, Proxy, Timeout, Response, BaseTransport, AsyncBaseTransport ImportError: cannot import name 'BaseTransport' from 'httpx' (C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_init_.py) i cant understand this

Zkj07892 avatar Jan 08 '24 04:01 Zkj07892

i have the same problem, i can't see anything when i'm trying to write my api key

giannons46 avatar Jan 09 '24 10:01 giannons46

It looks like interpreter is now using posthog for analytics/ tracking. If you have a custom DNS or your network is blocking posthog.com network calls(possibly using adguard/ pihole etc), you'll see this issue. Whitelisting posthog.com solves the issue.

Alternatively you can disable this by running interpreter --disable_telemetry or interpreter.anonymized_telemetry = False or setting the ANONYMIZED_TELEMETRY os var to false.

The posthog calls seems to be blocking. I had the same issue until i whitelisted posthog.com

srv1n avatar Jan 09 '24 16:01 srv1n

image this is how I am using with local llm with textgenerationwebui api endpoint

donymorph avatar Jan 11 '24 04:01 donymorph

only the command line option seems to work though, the config setting and env var is ignored in my case...

dhax avatar Jan 13 '24 15:01 dhax

I also cannot enter the API key, after pressing enter multiple times I can proceed to the next step but it still gets stuck. QQ截图20240212195144

wee23rer avatar Feb 12 '24 11:02 wee23rer

I also cannot enter the API key, after pressing enter multiple times I can proceed to the next step but it still gets stuck. QQ截图20240212195144

You should make a new issue

Notnaton avatar Feb 12 '24 12:02 Notnaton

Closing this stale issue. If this is still a problem with the latest version of Open Interpreter, please alert me to re-open the issue. Thanks!

MikeBirdTech avatar Mar 19 '24 18:03 MikeBirdTech