* @brief Returns the saved chats as metadata rows for QML, newest first. */
| 148 | * @brief Returns the saved chats as metadata rows for QML, newest first. |
| 149 | */ |
| 150 | QVariantList AI::Assistant::chatList() const |
| 151 | { |
| 152 | return m_chats.list(); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * @brief Returns the id of the currently displayed chat. |