Hi, I own ez1.dev, everything works great except for the Enhance Text option.
How can I fix it ?
Hi, I own ez1.dev, everything works great except for the Enhance Text option.
How can I fix it ?
Hi @mouss,
didnt we have this in another topic a few weeks ago
I think that must be a problem coming from your customizations. I do not now this occured for someone else using the default sourcecodes. I also see that the styling for the settings looks still broken.
Any errors in the Terminal maybe?
Bro, I reinstalled without any customizations, and I still get the same error, my customizations did not change anything. Yes, for the settings I removed some stuff that I don’t want users to have access to.
Ok, if there are no errors in terminal, I dont know that the problem then is (in the dev-console are no errors).
Maybe someone else has an idea what it could be.
in the code it says that the enhance button uses the latest AI from cache, wouldn’t it be better to hard code an AI just for the enhancing part ?
This makes no sense, cause not every user has this LLM then maybe. So it must be the LLM you have chosen for the prompts.
does it work for you with google flash 2.0 and deepseek r1 ?
yes, works without problems
It’s so weird because there is absolutely nothing I changed that even touches the enhancing option. who could please help me, maybe take a look at my github?
I can take a look if you sent me the link, yes
@mouss thanks for sending.
for me it is working also with your repo. so I guess its a hosting/nodejs version maybe etc. problem on your side:
I dont use cloudflare, so I dont know, but maybe @aliasfox
@aliasfox please help sir
Your settings look good.
And I don’t personally use the enhanced prompt feature, so I wouldn’t know.
So I just checked it with my Cloudflare instances and sure enough, when trying to use it, the prompt simply gets cleared. And while there are some console errors (related to a known path issue), there are no console errors when trying the enhanced prompt and I get a “Prompt enhanced!” successful message:
So this is a bug, either related to the Cloudflare deployment or something else. I’d have to troubleshoot my way through it, which might be difficult because there are no error logs for it.
is there a way to turn it off ?
What do you mean with turn it off? Remove it? Then just do it like you did for the rest of features you removed => remove it in the source code or hide just the icon.
there is no config yet for doing this.
What the button? Sure I guess.
Browse to "./bolt.diy/app/components/chat/BaseChat.tsx"
Remove references to the Enhanced Prompt logic:
promptEnhanced?: boolean;
enhancePrompt?: () => void;
//promptEnhanced,
enhancePrompt,
And delete the button in code:
If that’s the way you want to handle it.
Alternatively, you could just comment out the lines, in case the issue gets resolved in a future release. And you could just make these changes in your GitHub Repo clone. After committing the changes, it would auto re-deploy the Cloudflare instance and you’re all set.
Update: I just tested this and does the trick…
thank you boss, if ever you find a way to make it work please let me know, also is there going to be a login feature on the Stable branch ?
I don’t think that’s in the cards for Bolt.diy, but you could always just use Cloudflare Zero Trust or something like it. Can just lock down the app through auth. Someone else wrote a tutorial on it and I’m sure there are videos.