I want the friendship model API to treat a stored friendship row as a bidirectional relationship between two…
I want the friendship model API to treat a stored friendship row as a bidirectional relationship between two…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). The library should expose Friendship.objects.friends for user(user), returning a list of dictionaries where each…
The task
The library should expose Friendship.objects.friends_for_user(user), returning a list of dictionaries where each item has friend set to the other User and friendship set to the matching Friendship record. For example, if there is one row with from_user=alice and to_user=bob…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.