feat: add clear session messages functionality

- Implemented a new API endpoint to clear all messages in a session, enhancing session management capabilities.
- Updated the frontend to include a clear messages option in the session menu, allowing users to easily remove chat history.
- Added localization support for the new feature in English, Korean, Russian, and Chinese, improving accessibility for a broader audience.
- Enhanced the chat view to handle session message clearing events, ensuring a responsive user experience.

These changes significantly improve the user experience by providing a straightforward method to manage session messages effectively.
This commit is contained in:
wizardchen
2026-03-12 21:47:12 +08:00
parent e4bb97ff67
commit de0e93d9bb
12 changed files with 122 additions and 2 deletions
+3
View File
@@ -10,6 +10,9 @@ export default {
logout: "로그아웃",
uploadKnowledge: "지식 업로드",
deleteRecord: "기록 삭제",
clearMessages: "메시지 지우기",
clearMessagesSuccess: "메시지가 지워졌습니다",
clearMessagesFailed: "메시지 지우기 실패, 나중에 다시 시도해 주세요",
batchManage: "일괄 관리",
newSession: "새 세션",
confirmLogout: "정말 로그아웃 하시겠습니까?",