Iâve never used Gemini 1.5 flash and had it work. But had reasonable success with Flash 2.0.
I have done the following to explain a couple of fundamentals to you - entirely from my perspective.
Firstly I converted Spanish to English so I understoor the logic in the request. This is important I believe. While the LLM might be able to translate language, itâs much more difficult for the LLM to understand a request if the prompt doesnât make sense. I mean - similarly if you translate and it sems you may be making a statement rather than asking a question. Happy to be educated better around this also.
podrias crear un dashboard con muchos graficos con valores inventados
You could create a dashboard with many graphs with invented values
I changed the prompt as belowâŚ
create a dashboard with many graphs with random values
I will document my approach and how you may still need to help Bolt complete some tasks. I found a couple of issues here around JSX files and missing code elements. Happened twice as youâll see.
Cheat Help - I actually used ChatGPT to assist with the error determination because I find itâs very fast and often provides insight where I just missed something very simple. Also helps keep my chat history in Bolt nice and neat rather than asking it to fix several issues manually.
Had a code completion issue with Dashboard.jsx - went to ChatGPT to fix
import React from âreactâ;
import Dashboard from â./components/Dashboardâ;
function App() {
return (
<h1>Dashboard</h1>
<Dashboard />
);
}
export default App;
Another code issue - this time with App.jsx for the same reasn - no wrapping as belowâŚ
error?
Expected â}â but found â.â
11 | return (
12 |
13 | {graphs.map((graph) => (
| ^
14 |
15 | ))}
Then another error launchingâŚ
Now the graph is working as belowâŚ
So in short. I donât believe your initial statement around the earlier version of Bolt.diy. At least you havenât explained which LLM you used with Ottodev and what your previous prompt was either.
Iâm not being critical, just trying to help you in the right direction. What Iâve posted above is all correct and prompts still âthinkâ and deconstruct your requirements using english styled logic. Once again, happy for you to prove me wrong and show some random prompts and how successful they are.
You need to take some time to work out what prompts offer results youâre after also. If you want to use free LLMâs like Google Gemini or Deekseek, then be aware of the ability of each. The smaller LLMâs can be utilised for local builds if that was your desire, but other than that I donât see why youâd want to use the smaller LLMâs for online development. Code completion always requires more manual assitance. Live your best life and use the right LLM for your needs.
You know why Bolt.new uses Anthropicâs Claude 3.5 and is tailored with enhancements and optimizations. Itâs very good on code completion on itâs first pass - but you have to pay for this.
Also donât forget to switch on context optimization also from the system settings. This will help when your build starts to increase in size along with the requests.
All the bestâŚ
And similar first pass for Bolt.new
And again jdoodle.
Haha. Funny thing I thought Iâd try Bolt.diy using Claude 3.5 Sonnet, bought some credits, updated the API and - completed on first pass OK but with half the results.
Will try back-to-back with a couple of other LLMâs through OpenRouter. This is the idea with Bolt.diy, you have options. Itâs not always the same result and newer solutions come on the field, you can take a look and see what you find.
is this your website? is it a fork of bolt ?