Renaming a chat from the top bar had no way to generate a title, while the sidebar rename has a sparkle button for it. The rename field in the top bar now has the same button: it generates a title from the conversation and saves it right away, like the sidebar does. If you switch chats while the title is generating, it still goes to the original chat and does not show up on the one you switched to.