Prototyper assistant meltdown Sorry, I hit a snag


been experience this since 5/22, every prompt i try to send end up with this.
As a totally freshmen to IT it’s impossible to continue with the project without Gemini
I see im not alone, so it’s crucial for us to solve this.

it’s really very bad. so disappointing. so stressful.

For me starting yesterday again, the protyper is doing this. When I go to code I can work, but I am not a code expert. How should we continue?
Already reset the workspace. tried two days…but a snag keeps coming up?
It is a medium size project …but is that it…only small projects will do?

@Googler What shall we do?

@Edwin_Dingjan Your problem is most likely context size, you can even check the current context size:

  • run this command in terminal:
timestamp=$(date +%Y%m%d%H%M%S); mkdir -p "/home/user/studio/context/context_backup/" && cp "/home/user/.idx/ai/capra-context-state.json" "/home/user/studio/context/context_backup/capra-context-state-${timestamp}.json" && cp "/home/user/.idx/ai/capra-thread.json" "/home/user/studio/context/context_backup/capra-thread-${timestamp}.json"
  • it will copy the context files from the prototyper to a new folder context/context_backup
  • download these file
  • then go to https://aistudio.google.com/app/prompts/new_chat
  • paste the files to the chat, it displays the total tokens for the file.

my project was close to 3 millions tokens and I was having a really hard time using the prototyper, now it’s all good

here is what you need to do to safely clear the context from your project: