mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
* Simplify version creation logic in updateAgent function * Add comprehensive tests for agent functionality including version history, action metadata generation, and loading agents - Introduced tests for generating consistent hashes for action metadata. - Implemented tests for loading agents with various scenarios including null and non-existent IDs. - Added edge case tests for agent creation, updates, and error handling. - Ensured proper handling of ephemeral agents and their associated functionalities. * Enhance tests for Agent model functionality - Updated test structure for Agent resource file operations, improving organization and readability. - Added comprehensive tests for handling concurrent file additions and removals, ensuring data integrity. - Implemented edge case tests for agent creation and resource file management, including scenarios with non-existent agents. - Enhanced error handling in tests to cover various failure scenarios, ensuring robustness in agent operations. * optimize tests |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| lib/utils | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||