Website development - Snags and Issues

Howdy,

I have made a fair bit of progress trying to build a custom website via Deepseek and Gemini Flash.

The project has a couple of snags that are preventing me from progressing, this is partially due to my own deficient knowledge and skills insofar as to what is capable within reason.

The photography website that I built appears not to have a backend. images will not persist between sessions. I am unsure as to whether there is an opensource image database that Bolt.diy can implement for me.

If this is something that can’t be done, how realistic is this project outside of Bolt.diy. With the code that’s been generated is it possible to manually finish the remainder by drafting in a web developer - or might it just be best to scrap the whole thing given the limitations I am experiencing.

Lastly, an issue I have run into is that when switching between Deepseek and Gemini, when I go back to Deepseek it appears not to connect again: ‘There was an error processing your request: Custom error: Unprocessable Entity’

Thanks for your thoughts in advance. You can see the code base completed thus far below:
Screenshot 2025-01-25 at 20.55.53

1 Like

Sounds like an interesting project - I’d love to learn more about it! :slight_smile:

I certainly wouldn’t scrap everything! There are a lot of solutions for you to permanently store images. There is object storage in Supabase that I’d recommend checking out. You could also store images in S3.

You will probably need some sort of backend to handle the uploading of files, that kind of thing I’d suggest building out with Windsurf/Cursor since bolt.diy is more for the frontend.

The DeepSeek error is probably because R1 and other reasoning models don’t handle chat history the same as regular LLMs. Not sure exactly what the problem is though! Are there more error logs to go with that top level error?

2 Likes

Thanks Cole.

I’ll try the suggestions with Supabase and see how that goes.

I found using R1 on the Deepseek site to detail out the build works well to define the project and dependencies and then the Deepseek Chat model thereafter seems to be better for building out the project. The Wordpress CMS is a gold standard backend, so I trying to see if this can be imported or built out in the project via Bolt.diy.

The site I am trying to build is a little quirky, it uses a very particular aspect ratio known as Xpan.

One of the errors that i received when switching between models was: There was an error processing your request: Custom error: deepseek-reasoner does not support successive user or assistant messages (messages[1] and messages[2] in your input). You should interleave the user/assistant messages in the message sequence.

2 Likes

Yeah I’ve seen a couple people have this issue too! I think it’s because reasoner models don’t handle chat history the same as other LLMs (you’re switching from a non reasoning LLM to R1 I assume). I have to do some more digging into this though.

@thecodacus I think you are already on this or at least mentioned how to fix this somewhere in the chat, right?

does the chat has image uploaded for reference. maybe thats the reason the api is throwing errors