Chat history is CodeArts Agent's memory of past interactions, recording the chats between the user and the AI, including previous questions, answers, and context.
Constraints
Table 1 Constraints | Category | Description |
| Function | Chat history is displayed by project. Do not modify project names arbitrarily, as doing so may render historical records unviewable. |
| Storage mode | Local storage. In the opencode.db file in the %USERPROFILE%/.codeartsdoer/codearts-data directory. |
Managing Historical Chats
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- On the chat panel of the CodeArts Agent, click
to view recent chat records.
If the chat panel of CodeArts Agent is not displayed, click
(Expand AI Sidebar) in the upper right corner of the top menu bar to open it.
- You can view the latest 10 chat records and perform the following operations.
Table 2 Managing historical chats | Operation | Instruction |
| Viewing all historical chats | All is displayed only when the number of historical chats is no less than 10. In the lower left corner of the recent chat area, click All to view the historical chats of the current project and global chats (these chats do not belong to any project and are usually generated in earlier versions). |
| Viewing a historical chat | Click a chat record in the list to open it again on the chat panel. NOTE: If you need to review chats, search for content, share information, or organize data, you can view the chat history to access the complete information. |
| Editing a historical chat | Hover over next to a chat and choose Edit to change the chat name. |
| Sharing a historical chat | Sharing chat history is primarily applicable to scenarios such as saving and sharing chat content. For example, if your chat contains important information, you can export it for local backup to prevent data loss. Only chats in the completed state can be shared. |
| Deleting chats one by one | When there are few chat records, deleting them individually is not only more intuitive and flexible but also allows for the precise removal of specific content. - Hover the cursor over
next to the chat you want to delete and select Delete. - In the displayed dialog box, click OK.
CAUTION: Deleted chats cannot be recovered. Exercise caution when performing this operation. |
| Batch deleting chats | Deleting many chats one by one manually is inefficient; you can also batch delete chats using the following steps: For example, if a large number of temporary chats were generated while debugging or testing the agent, you can use the batch delete feature to clear these unneeded records with one click. In the agent mode, if there is a chat in progress, batch deletion will not allow the removal of chats that are in intelligent Q&A mode. - In the lower left corner of the recent chat page, click All.
- Click
next to the search box. - In the chat list, select the records to be deleted and click Delete.
To delete all records, scroll the list to the earliest record, choose Selected on the top, and click Delete. - In the displayed dialog box, click OK.
CAUTION: Deleted chats cannot be recovered. Exercise caution when performing this operation. |
Related Documents
Modifying a project name will render the chat history of that project unviewable in CodeArts Agent IDE. If you need to restore your chat history, follow the instructions in What Should I Do If I Cannot View Chat History in the Original Project?