2
Do not auto-run AI generated queries in the Assistant
Source: supabase/supabase#35778 · opened by @jlleblanc
By default, the AI Assistant should not automatically run the queries it generates!
I was just now trying to debug an SQL statement, which turned out to have the wrong format for a UUID. After the Assistant explained this, it proceeded to generate a SELECT id FROM table_name_here statement, on a table with tens of thousands of records.
It then automatically ran that query, which caused the UI to become unresponsive. After force-quitting my browser, I opened the SQL Editor again. The Assistant reappeared with my previous prompt and proceeded to auto-run it again.
I had to wait several minutes for the query to finish. I attempted to clear the chat, but that was also unresponsive until the query finished . When I was finally able to click it, that also caused the UI to become unresponsive for a few minutes.
If I had been given the option to run or ignore the query, I would have ignored it.
I was just now trying to debug an SQL statement, which turned out to have the wrong format for a UUID. After the Assistant explained this, it proceeded to generate a SELECT id FROM table_name_here statement, on a table with tens of thousands of records.
It then automatically ran that query, which caused the UI to become unresponsive. After force-quitting my browser, I opened the SQL Editor again. The Assistant reappeared with my previous prompt and proceeded to auto-run it again.
I had to wait several minutes for the query to finish. I attempted to clear the chat, but that was also unresponsive until the query finished . When I was finally able to click it, that also caused the UI to become unresponsive for a few minutes.
If I had been given the option to run or ignore the query, I would have ignored it.
No pledges yet. Be the first to back this.
Comments
Similar requests
Redesign of the Queries tab
4 votes · 0 comments
Enhancing Developer Experience with Client-side Raw SQL Queries
3 votes · 0 comments
Support for MongoDB / other databases.
6 votes · 0 comments
Make SQL queries auto naming and saving optional
2 votes · 0 comments
Make saved SQL Editor queries available via Management API
1 vote · 0 comments
No comments yet.