I opened the generated code in the file I’m working on using the generate button or cmd+I on macOS. Then, I asked for a random query and clicked “View in the chat". It opened a temporary window, which I dragged to my extensions bar. Now it works.