From 33a59df4ae2f533293ff4eeadabeb5423fcff473 Mon Sep 17 00:00:00 2001 From: hjjjj <1311711287@qq.com> Date: Thu, 2 Apr 2026 15:39:13 +0800 Subject: [PATCH] feat: update mode tags and enhance chat session management - Added 'like' mode tag to various components including server, admin interface, and authentication routes for improved user interaction. - Introduced new functions in chat.js for sanitizing agent state and tool calls, enhancing data integrity and management. - Updated .gitignore to include new directories for better file management. --- .gitignore | 5 +- admin-web/index.html | 5 +- routes/auth.js | 2 +- routes/chat.js | 221 ++++++++++++++++++++++++++++++++++++++++++- server.js | 2 +- 5 files changed, 228 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index de62549..7377e04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ node_modules/ .env *.log -scripts/ \ No newline at end of file +scripts/ +.omx/ +updates/ +!updates/index.html \ No newline at end of file diff --git a/admin-web/index.html b/admin-web/index.html index 3168d2c..8c01456 100644 --- a/admin-web/index.html +++ b/admin-web/index.html @@ -624,14 +624,15 @@