LibreChat/packages
Danny Avila a78865b5e0
🔄 refactor: Update Token Deletion Logic to Use AND Semantics
- Refactored the `deleteTokens` method to delete tokens based on all provided fields using AND conditions instead of OR, enhancing precision in token management.
- Updated related tests to reflect the new logic, ensuring that only tokens matching all specified criteria are deleted.
- Added new test cases for deleting tokens by type and userId, and for preventing cross-user token deletions, improving overall test coverage and robustness.
- Introduced a new `type` field in the `TokenQuery` interface to support the updated deletion functionality.
2026-03-21 14:45:53 -04:00
..
api 🪄 refactor: Simplify MCP Tool Content Formatting to Unified String Output (#12352) 2026-03-21 14:28:56 -04:00
client v0.8.4 (#12339) 2026-03-20 18:01:00 -04:00
data-provider ⚗️ feat: Agent Context Compaction/Summarization (#12287) 2026-03-21 14:28:56 -04:00
data-schemas 🔄 refactor: Update Token Deletion Logic to Use AND Semantics 2026-03-21 14:45:53 -04:00