MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / get_current_room

Function get_current_room

eval_heldout/science-world/eval_utils.py:90–96  ·  view source on GitHub ↗
(look)

Source from the content-addressed store, hash-verified

88
89
90def get_current_room(look):
91 global rooms
92 first_sent = look.split(".")[0]
93 for r in rooms:
94 if "called the "+ r in first_sent:
95 return r
96 return None
97
98
99def load_model(args, device):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected