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
Bug description
When I tried to run the Werewolf example, the model call failed due to platform flow restrictions. At this time, the program failed to serialize when it tried to write the current state to the storage/team.json file.
After debugging, I found that the attribute special_actions in BasePlayer contained Action classes such as Speak, which caused the serialization failure
Bug solved method
I tried to add a custom serializer to Team so that it can be customized by users #1688
Bug description
When I tried to run the Werewolf example, the model call failed due to platform flow restrictions. At this time, the program failed to serialize when it tried to write the current state to the storage/team.json file.
After debugging, I found that the attribute special_actions in BasePlayer contained Action classes such as Speak, which caused the serialization failure
Bug solved method
I tried to add a custom serializer to Team so that it can be customized by users
#1688
Environment information
The text was updated successfully, but these errors were encountered: