coleam00 / bolt.new-any-llm

Prompt, run, edit, and deploy full-stack web applications using any LLM you want!
https://bolt.new
MIT License
3.09k stars 1.31k forks source link

trouble wit API #287

Open CGEdU opened 1 day ago

CGEdU commented 1 day ago

Describe the bug

I'm having trouble with Bolt and the OpenAI API. I followed the installation steps and managed to run Bolt locally, but when I send the prompt, I get an API error. I don’t understand why this happens or if I’m doing something incorrectly. Can someone help me? I’ve already deleted that API key, haha—I just left it here as an example of how I’m using it, in case there's something wrong that needs fixing. Thanks!

Link to the Bolt URL that caused the error

https://github.com/coleam00

Steps to reproduce

I'm having trouble with Bolt and the OpenAI API. I followed the installation steps and managed to run Bolt locally, but when I send the prompt, I get an API error. I don’t understand why this happens or if I’m doing something incorrectly. Can someone help me? I’ve already deleted that API key, haha—I just left it here as an example of how I’m using it, in case there's something wrong that needs fixing. Thanks!

Expected behavior

I need help :C

Screen Recording / Screenshot

Mod Edit: Removing screenshot including API key

Platform

Windows

Additional context

No response

chrismahoney commented 1 day ago

Hey there, I removed the screenshot with sensitive info, I would suggest that you recreate the key that you accidentally posted here. Just saw that you mentioned it, but just being proactive to prevent any malicious use.

Can you provide some additional details about the specific error you encountered? Thanks

Prathamesh-Shanbhag commented 1 day ago

Yep facing the same issue - Looks like someone has merged bad code in maybe? The whole thing no longer works with OpenAI API keys

Mrtlearns commented 1 day ago

I have the same issue. I am stating the the docker with docker-compose --profile production up and maintained the .env and .env.local with exactly the same [7] different API keys (Groq, openai, etc etc) None of them work and neither does using the pencil and entering it manually. It is almost like it is not reading the .env or even the manual input.

RiseWith commented 1 day ago

same issue, OpenAi not working