GKlajer commited on
Commit
42221e3
·
1 Parent(s): a95a8a9

Update strategy guidelines for room exploration in agent

Browse files
Files changed (1) hide show
  1. agent.py +2 -1
agent.py CHANGED
@@ -142,6 +142,8 @@ Use this exact JSON schema:
142
 
143
 
144
  STRATEGY:
 
 
145
  0. Use your global_notes to remember things you need to come back to later.
146
  1. Pay attention to the "Known Exits" in your HUD to navigate efficiently.
147
  2. Carefully read the observation for unmapped doors, passages, or directions.
@@ -151,7 +153,6 @@ STRATEGY:
151
  6. Avoid immediate backtracking unless you hit a dead end.
152
  7. DISAMBIGUATION: If the game asks a clarification question like "Which do you mean, the X or the Y?" or "What that mean, X or Y?", your next action MUST simply be the exact name of the object you want (e.g., "X" or "Y"). Do not write a full command.
153
  8. TRUST THE HINTS: If a cardinal direction (north, northeast, up, down, etc.) appears in the "Valid verbs/hints" list, YOU CAN GO THAT WAY. Do not assume an exit is blocked just because it isn't explicitly described in the room text.
154
- 9. Dont waste to many steps in a room trying to find every single interaction. If you have tried the most obvious interactions and actions in a room and haven't found any new information, it's often best to move on and explore new areas. You can always come back later if you find clues that point back to that room.
155
  """
156
 
157
  # =============================================================================
 
142
 
143
 
144
  STRATEGY:
145
+ 0. DONT WASTE TO MANY STEPS IN A ROOM TRYING TO FIND EVERY SINGLE INTERACTION. IF YOU HAVE TRIED THE MOST OBVIOUS INTERACTIONS AND ACTIONS IN A ROOM AND HAVEN'T FOUND ANY NEW INFORMATION, IT'S OFTEN BEST TO MOVE ON AND EXPLORE NEW AREAS. YOU CAN ALWAYS COME BACK LATER IF YOU FIND CLUES THAT POINT BACK TO THAT ROOM. LIKE GOOD RULE OF THUMB IS 10 STEPS MAX AND 1-4 STEPS IN AVERAGE.
146
+ 0. Bias heavily towards discovering new locations in the early game to gather information in your memory bank (DONT FORGET TO UPDATE YOUR KNOWLEDGE OF THE GAME) and find useful items. Avoid getting stuck trying to 100% explore a single room before moving on.
147
  0. Use your global_notes to remember things you need to come back to later.
148
  1. Pay attention to the "Known Exits" in your HUD to navigate efficiently.
149
  2. Carefully read the observation for unmapped doors, passages, or directions.
 
153
  6. Avoid immediate backtracking unless you hit a dead end.
154
  7. DISAMBIGUATION: If the game asks a clarification question like "Which do you mean, the X or the Y?" or "What that mean, X or Y?", your next action MUST simply be the exact name of the object you want (e.g., "X" or "Y"). Do not write a full command.
155
  8. TRUST THE HINTS: If a cardinal direction (north, northeast, up, down, etc.) appears in the "Valid verbs/hints" list, YOU CAN GO THAT WAY. Do not assume an exit is blocked just because it isn't explicitly described in the room text.
 
156
  """
157
 
158
  # =============================================================================