@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: