self-operating-computer icon indicating copy to clipboard operation
self-operating-computer copied to clipboard

Where to add OpenAI API Key ?

Open jynrock opened this issue 1 year ago • 3 comments

After the operate command I get this message : To use gpt-4-vision-preview add an OpenAI API key

I write my API key in config.py but I still have the message API request. Where I have to give my API key ?

jynrock avatar Jan 27 '24 14:01 jynrock

This seems to be happening when using a recent version of Python (3.12)

Downgrading to 3.10 worked. (3.11 should work)

Adrriii avatar Jan 28 '24 17:01 Adrriii

@jynrock it should prompt you for an OpenAI key right after writing operate, does it not do this?

joshbickett avatar Feb 09 '24 04:02 joshbickett

@jynrock it should prompt you for an OpenAI key right after writing operate, does it not do this?

Mine did not ask me for the API in the GUI. It goes from the green screen to a CLI.

I have not been able to get it to connect to Chat GPT. I am using this command in the Windows Command Prompt to set the GPT key. I don't know how to set the keys for the other LLMs. set OPENAI_API_KEY='sk-Yx11NFQ--------------------sbSPHURT2vEe'

Moreover, I don't know if there is a way to choose the LLM that you want to use.

churchboy316 avatar Feb 17 '24 06:02 churchboy316