You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Pydantic serialization by making _lock a property
- Convert _lock from dataclass field to property to avoid serialization issues
- Lock is created on-demand via __lock attribute
- Maintains thread safety while allowing Pydantic TypeAdapter serialization
- Fixes PydanticSchemaGenerationError in test_agent_run_result_serialization
0 commit comments