From 061d05dfe818e40324ccf826ca578b0e9fef2db6 Mon Sep 17 00:00:00 2001 From: Cunninger <1803912219@qq.com> Date: Mon, 3 Feb 2025 14:39:25 +0800 Subject: [PATCH] refactor(api): update authentication and request parameters for enhanced compatibility - Replace token-based authentication with cookie-based authentication for improved security and usability - Add support for chat_type field in both request body and content object to align with updated API requirements - Ensure prompt content remains unchanged while adapting to the new interface specifications - Update frontend interface to include a dedicated field for cookie input under Token management This change ensures seamless integration with the updated API while maintaining backward compatibility and user experience. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 80d571c..9f11b75 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -".idea/" +.idea/