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.
This commit is contained in:
Cunninger 2025-02-03 14:39:25 +08:00
parent ec554bc93a
commit 061d05dfe8

2
.gitignore vendored
View File

@ -1 +1 @@
".idea/" .idea/