Did they change something or is it that my project became too long?
Not sure at the moment, but you should see in the UI and terminal how much tokens you spent:
At least if you are on the main branch. Also in the terminal you see the detailed error then what Google provided.
Is this Gemini token being used or is it from Bolt.Diy?
this is the tokens used for gemini for this specific prompt
There is also an open PR for enhancing the statistics if you want to test it out and give feedback to the Developer: feat: in progress : add Token Usage Statistics by Stijnus · Pull Request #887 · stackblitz-labs/bolt.diy · GitHub
I tried changing to another API key and I still got the message…what would that mean?
Did you check the logging (main) branch? No detailed error?
Funny how when i gave the same prompt to replicate the issue to take a picture, it decided to resolve the issue by editing only one file instead of 2 which was trying to do before… If I encounter it again I will get a screen of the cmd and post it.
Hey Thomas
Do you have usage statistics - unfortunately you don’t get that for Teir 1 which is the free-teir.
No I dont, but it’s pretty clear I think, the issue is that the output is more than 8k tokens.
Since output context size is an issue…I think it would be best to have a way to apply only the modified code instead of writing again the whole files.
@Jakkaru thats a known issue a long time and the team already working on it. You already can checkout the PR for this and test the current development: feat: enhance context handling by adding code context selection and implementing summary generation by thecodacus · Pull Request #1091 · stackblitz-labs/bolt.diy · GitHub
Yeah we need diff for writing code, I have already switched to Roo Cline because of this. I would really like to see bolt.diy get better… looking forward for updates!