mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-15 01:05:13 -05:00
``` FAILED test/model_test.py::test_agent_preset_from_db - pydantic_core._pydantic_core.ValidationError: 1 validation error for AgentNodeExecutionInputOutput E pydantic_core._pydantic_core.ValidationError: 1 validation error for AgentNodeExecutionInputOutput E data E JSON input should be string, bytes or bytearray [type=json_type, input_value=Json, input_type=Json] E For further information visit https://errors.pydantic.dev/2.11/v/json_type ``` ### Changes 🏗️ Manually creating a Prisma model often breaks, and we have such an instance in the test. This PR fixes the test to make the new Pydantic happy. ### 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] CI