mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-07 13:25:01 -05:00
## Changes 🏗️ The test data script is not working locally, this should fix it 🤞🏽 - Fixed `agentId` → `agentGraphId` field references in preset matching logic - Fixed `agentId` → `agentGraphId` field references in store listing graph lookup - Added graph uniqueness logic to prevent duplicate library agents per user - Improved data consistency by ensuring proper foreign key relationships ## Checklist 📋 ### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Verified script runs without database schema errors - [x] Confirmed foreign key relationships are properly maintained - [x] Tested that library agents use unique graphs per user - [x] Validated preset matching uses correct field references