Launcher Installation Crashes on Windows 11 When Entering OpenAI API Key
The installation terminal for wren-launcher crashes unexpectedly when entering the OpenAI API key during the setup process.
Steps to Reproduce:
- Run the Windows installer wren-launcher-windows.exe as an administrator.
- Select "OpenAI" as the LLM during the setup process.
- Paste the OpenAI API key and press Enter.
- Observe that the installation terminal window closes immediately, preventing the installation from completing.
Expected
Installation should proceed further OR appropriate error message should display
System Configuration
OS: Win11 Docker Desktop: v4.22 WrenAI Release: 0.14.0
Making sure that docker daemon is already running
@prathameshbelurkar could you share the screenshot containing any error message you encountered? Or a short clip?
i have met this problem too,how to solve
@Perish11 could you join our discord server and DM me(Jimmy)?
https://discord.gg/5DvshJqG8Z
@prathameshbelurkar @Perish11 this issue may due to you haven't pay some api credit to OpenAI. (it's different service from ChatGPT)
@cyyeh Ohh, yes! Initially, when I tried on my Windows machine, the CLI closed within a fraction of a second, making it difficult to see the error message (due to Windows' default behavior). However, when I tried on my Linux machine, I was able to see the following error message:
Is this the correct OpenAI dashboard to generate an API key?
I generated my API key from here, but it had a 0 credit balance! Maybe I need to try with a custom LLM instead.
If that's the case, it's showing 'Invalid API Key' with a status code of 429!
Yes, that means you need to pay some api credits to OpenAI first. Seems the issue is fixed, I will close it now.