mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
Close [BS-3079](https://linear.app/affine-design/issue/BS-3079). - Separate the create session logic from the `createMessage function`. - Ensure the session is created before executing any chat or actions. - Convert the `AIActions` into asynchronous functions. - Transfer the update prompt name logic to the chat action. - Introduce a networkSearch field in `AITextActionOptions`. - Eliminate the redundant `LAST_ROOT_SESSION_ID`.