Files
AutoGPT/autogpt_platform/backend
abhi1992002 0b16c4da2c refactor(api): optimize folder ancestry check in database
- Updated the `is_descendant_of` function to fetch all user folders in a single query, reducing database round-trips and improving performance.
- Replaced the previous method of querying each folder's parent ID with an in-memory parent map, enhancing efficiency in checking folder ancestry.
- These changes streamline the folder validation process and improve overall responsiveness of the API.
2026-02-17 10:36:38 +05:30
..