hello, i am experiencing problems with bolt uploaded on cloudflare, i try to upload components taken from 21st.dev, but in no way i succeed, it gives me problems with vite, if i try to copy the same prompt taken from 21st.dev on bolt.new instead, it goes without problems, this is making me very frustrated, how come there is this abysmal difference between the two bolts ? also how come when i use bolt.diy uploaded on cloudflare it consumes me big compiutational resources that of energy of my computer ?
One last question, how do I configure codestral v2 with bolt.diy ? I have already put in the cloudflare project variables mistral and its API key but nothing
Bolt.new is fully optimized and becoming quite mature for itâs still young age. Bolt.diy was only forked around mid-October 2024. Itâs been designed to provide more freedom in configuration but it still needs more time to develop it. There are some great enhancements about to be rolled-in to the project in the coming days and weeks. Itâs very important you understand many of the Provider / Model pairings have limitations. Some are free and some cost. There are new LLMâs that are better optimized for coding and their size and context lengths are improving quickly. My preferrence currently and for many others is Google Gemini Flash 2.0. And I run in Cloudflare with no issues. I can also run locally on localhost installation but seems roughly same results.
Understand there are limitations on context length and how you word your prompt. If youâre also importing a project. Once you get around 70-85 files in size, there is issues with prompt completion. This is another enhancement coming soon.
Iâm not sure I understand your energy usage on your computer. Do you mean CPU usageâŚ?
That shouldnât be an issue. Unless youâre running a local copy and trying to run Ollama or something which requires heaps of DRAM.
With your last question. What did you mean by âcloudflare project variablesââŚ?
To get an idea also on Providers and LLMâs performance and their edit format (diffs or whole file - this is important when looking at Token usage and context size)
I use an Intel MacBook pro and going into the activity monitor I see that it uses a lot of CPU and starts the fan overheating excessively, also the battery dies drastically, we are talking about an hour or so and I lose all the batteryâŚ
I only use the version uploaded to cloudflare
By variables I mean the API key configuration within the project settings you cloudflare, I entered MISTRAL_API_KEY and entered the chaive of codestral v2 but it doesnât workâŚ
Anyway I currently use gemini flash 2.0 or sometimes deepseek although honestly it is not convincing me, I prefer gemini by far.
Being a designer and coming from webflow, maybe at the moment I am better off with bolt.new ?
I realize that it makes me very frustrated that it is impossible to get what I want and how I want it, I would like something that is very flexible and above all that facilitates me without going crazy.
Between bolt.new v0 or lovable which one is better ? I hate message limits⌠hate limits in general, no limits in life !!!
Thanks, but as said in the videos. Give me feedback whats missing, what topics to cover in next videos and then I can think about how to do. so far no feedback from users, that stuff is missing or other videos needed
Codestral V2 doesnât work under the Mistral api. It has itâs own API key. And it doesnât work with the Bolt.diy api section yet. Here is a video of how somebody got it working in Bolt.diy around the 7:11 mark.
Sorry if I am in error. I made an assumption partly because of the video and I couldnât get it to work. Also in the console.mistral.com they have a separate section for Codestral that states âUse Codestral via your favorite Code completion tool for free.â that has itâs own API separate from the API Keys section.
to change the api endpoint we need to either add it as separate provider or make the base url configurable.
or @sfason65, if you adventurous you can change the baseUrl yourself
@thecodacus my question was more related to if there is really a need to change it or if both apis provide the same model, as I cant really get this from their docs.
As I read it, they do provide the same model, just have different endpoints depending where you want to use it and also different rate limits/payment stuff.
@leex279@thecodacus Thank you for taking the time to respond. Since it seems the free use is limited to 8 weeks I assume from their 1/13/25 release date, it probably is not worth the effort to integrate. I found I could access Codestral 2501 on OpenRouter. I ran a quick test to see if I could notice a difference between the two.
I used the The Fiscal Code challenge at https://edabit.com. It is under the expert level JavaScript challenges. I then started a new chat using the standard Mistral Codestral selection. The first iteration of the code came back with 1 pass and 4 fails. I pasted the results back into the chat for two more iterations with the same fails. Further attempts broke the code completely.
I then opened a new chat and selected OpenRouter Codestral 2501 and did the same process. The first iteration came back with 3 passes and 2 fails. After pasting the results, the next iteration yielded 4 passes and 1 fail. Further iterations did not improve and ended up breaking the code again.
Interestingly, I reverted the chat to the code with 2 fails and switched to Deepseek coder. I pasted the errors in the chat and got 5 passes on the first try.
I know there are too many variables and unknowns to put much stock in my test. I just thought some might find it interesting.
ok with codestral but what about overheating and too much battery consumption ? not possible ? i am using Arc and Bolt.diy on cloudflare, where am i going wrong ?