Code created in the AI panel, but not written into project files

Hi everyone,

I am using bolt.diy with Ollama running Qwen2.5-coder-32b
It has created the simple project fine, files were written fine. However, as I asked to add some react components, the AI is suggesting to add files, writes them out in the AI panel, but the actual files are not added to the project files. What may be happening here?

Additionally, there is no way to manually create files - that would be a great feature if it existed. Switching between Bolt and an IDE is a pain

1 Like

Welcome @abacus,
can you post a screenshot of your bolt please.

Are there any errors in DEV-Console / Terminal?

Did you try just to tell it to write it in the files?

=> Already on the roadmap / coming in future release

Replying to myself - this issue appears to be fixed by giving the LLM more context size (obviously have play with it a bit to make sure it still feets into RAM)

# DEFAULT_NUM_CTX=32768 # Consumes 36GB of VRAM
# DEFAULT_NUM_CTX=24576 # Consumes 32GB of VRAM
# DEFAULT_NUM_CTX=12288 # Consumes 26GB of VRAM
# DEFAULT_NUM_CTX=6144 # Consumes 24GB of VRAM
DEFAULT_NUM_CTX=12288

This is what I have now (RTX3090, so 24GB ram)

Bolt.diy needs to be manually restarted after changing this value

1 Like