Open CurtisAccelerate opened 1 year ago
I tried it out, on my browser, the original script can be used normally, but your PR cannot be used properly. The output button is null. I guess it may be because other scripts on your browser are affecting the button layout.
The continue/regenerate button must be visible. I am using it with code interpreter. They have added an attach button to the left which breaks on yours. I had to cycle it twice but I only use with it with Code Interpreter model always. The get next sibling button selects the attach button to the left with your script. Sounds like a correct fix will need additional logic to know if it needs to get next sibling or run it twice for the data analysis / code interpreter. I confirm mine breaks on the normal. Possible fix would be to run it once and check the button text/element and if not matched run it again.
Added some fixes/corrections based on new ChatGPT interface button order. Attach button broke the script. Possibly some other fixes as well -- must be reviewed but working for me.