Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chat): add removeLastMessage function to clear chat history #51
This commit introduces a new function `removeLastMessage` to the `ChatCodingPanel` class, which allows clearing the chat history by removing the last message from the component list. The function is guarded by a condition to ensure that the list is not empty before attempting to remove the last message. After removal, the UI is updated to reflect the change.
- Loading branch information