mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
f4971a8330
- Remove redundant EXISTS subquery in thread_messages INSERT since the JOIN already limits results to sessions that have messages - Remove ineffective ORDER BY in INSERT...SELECT (SQLite does not guarantee insertion order from ORDER BY in this context) - Fix user_set_name to be FALSE when name falls back to 'New Chat', avoiding contradictory state where user_set_name=true but the name is a default placeholder Signed-off-by: Matt Toohey <contact@matttoohey.com>