OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Unknow issue when running prompt inside the webui with WSL Ubuntu

Open PierrunoYT opened this issue 10 months ago • 5 comments

grafik

PierrunoYT avatar Mar 29 '24 16:03 PierrunoYT

grafik

PierrunoYT avatar Mar 29 '24 16:03 PierrunoYT

Make sure that you have set your OPENAI API Key

AbdelrahmanHassan111 avatar Mar 29 '24 16:03 AbdelrahmanHassan111

Make sure that you have set your OPENAI API Key

I did but it's not working with Claude

PierrunoYT avatar Mar 29 '24 16:03 PierrunoYT

it should be LLM_API_KEY: https://github.com/opendevin/opendevin?tab=readme-ov-file#picking-a-model

rbren avatar Mar 29 '24 16:03 rbren

Make sure that you have set your OPENAI API Key

I did but it's not working with Claude

ensure this command prompt claude POST https://api.openai.com/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d "{\"prompt\":\"Hello, world!\"}"

and replace YOUR_API_KEY with your actual OpenAI API key.

AbdelrahmanHassan111 avatar Mar 29 '24 16:03 AbdelrahmanHassan111

This is looking like user error--we do need to rework the key/model interaction a bit though. E.g. only make models available if the user has plugged in a key, or prompt for a key when choosing a model.

I'll open a new issue

rbren avatar Mar 30 '24 15:03 rbren